Well I had some old code laying around that did exactly this. I've stripped it out and created an example with it [1]. It overrides the EventDispatcher methods. I do not plan on checking it into the sdk, because it has to be duplicating the EventDispatcher's internal arrays. It would be better to just put a ticket into Adobe to have some methods / array's exposed (if they allow it).
But I do plan on ripping the changes out and attaching them to the issue as a work around before resolving it. Does anyone have any change/addition ideas before I do? I did have a simple serving eventlistener I removed, but it works pretty good too. -Mark On Thu, Jul 11, 2013 at 5:41 AM, Mark Kessler (JIRA) <j...@apache.org>wrote: > > [ > https://issues.apache.org/jira/browse/FLEX-33608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel] > > Mark Kessler reassigned FLEX-33608: > ----------------------------------- > > Assignee: Mark Kessler > > > Add function "removeAllEventListener()" > > --------------------------------------- > > > > Key: FLEX-33608 > > URL: https://issues.apache.org/jira/browse/FLEX-33608 > > Project: Apache Flex > > Issue Type: New Feature > > Components: Spark Components > > Affects Versions: Apache Flex 4.9.0 > > Reporter: Robbyn Gerhardt > > Assignee: Mark Kessler > > Labels: event, removeEventListener > > Fix For: Apache Flex 4.10.0 > > > > Original Estimate: 12h > > Remaining Estimate: 12h > > > > Can you add a function that removes all events of a component? > > -- > This message is automatically generated by JIRA. > If you think it was sent incorrectly, please contact your JIRA > administrators > For more information on JIRA, see: http://www.atlassian.com/software/jira >