Event listeners will be destroyed along with the object the listeners
belong to. But they will keep on firing until the garbage collector
feels like running.
Do note that a listener does hold a reference to the listener function
from the event source. This means that if the object has a listener on
some object that is not up for garbage collection (like the stage), it
is not going to be garbage collected either. That's why there is a fifth
argument to addEventListener.
So yeah, removing the listeners can be needed in some cases, and not
needed in other cases. Either way, it is good practice to do remove them.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders