Create an event handler at the moment when it is really necessary, for example, when a button or object falls into a frame.
If the clicks on the clicks of the event listener are already created, you can delete the listener at any time in ActionScript.
myButton.removeEventListener (MouseEvent.CLICK, handleMouseClick);
,
myButton.addEventListener(MouseEvent.CLICK, handleMouseClick);
"handleMouseClick" , - .
ActionScript , , , , - . , .