Extending Flash |
|
|
|
| Objects > flash object (fl) > fl.removeEventListener() | |||
Flash CS3 Professional.
fl.removeEventListener(eventType)
eventType A string that specifies the event type to remove from this callback function. Acceptable values are "documentNew", "documentOpened", "documentClosed", "mouseMove", "documentChanged", "layerChanged", and "frameChanged".
A Boolean value of true if the event listener was successfully removed, false if the function was never added to the list with the fl.addEventListener() method.
Unregisters a function that was registered using fl.addEventListener().
The following example removes the event listener associated with the documentClosed event:
fl.removeEventListener("documentClosed");
|
|
|
|