actionscript 3 - Removing all event listeners in Flex -


How can I remove all event listeners on all the components at one go, especially when it is not known that each component ?

You can override mx.core.FlexSprite, which come from UIComponent, and listeners An array was created to generate. Doug McQueen put the source code.

His blog says: removeAllEventListeners () - Deletes all events of all kinds of events, it completely erases all event listeners for a component.

We know that it works!


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -