Maybe create a class or function that applies and removes the listeners?

Karl


On Jan 6, 2010, at 5:21 AM, Henrik Andersson wrote:

ktt wrote:
Hello,

What is the best method to iterate through MovieClip children, check if they have listeners and if they have - remove them?

It is not possible to get a list of the listeners. This means that you can not remove them. You can however detect if there is any at all for a given event.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Karl DeSaulniers
Design Drumm
http://designdrumm.com

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to