Removing all event listeners in Flex
How can I remove all event listeners on all components at once, especially when it is not known what listeners are attached to each component? You can override mx.core.FlexSprite, which UIComponent inherets from, and generate an array of listeners created. Doug Mc Cune put up source code here . His blog says: removeAllEventListeners() – removes all event listeners of all types. This completely wipes out all event listeners for the component all at once. Let us know if this does the job! No! You might be able to mock something up with hasEventListener and willTrigger . But, there doesn't appear