----- Original Message ----- From: "John R. Sweeney Jr" <jr.swee...@comcast.net>
To: "Flash Coders List" <flashcoders@chattyfig.figleaf.com>
Sent: Tuesday, April 28, 2009 6:35 PM
Subject: [Flashcoders] Memory concerns


I know you have to implicitly remove objects to free up memory, but does
that also apply to listeners?

Yes.


If you have many listeners in a loaded external movie and then you remove
the movie are the listeners still in memory, which might cause problems
later?

Yes.

Thanks in advance for any insights,
John

Anything with a reference to it won't be garbage collected and that includes listeners and instances referenced by listeners (unless it's a weak reference).

Paul
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to