Also note that Flash will only free up memory it thinks it needs to...
On 27/05/2010 13:37, Andrew Murphy wrote:
Hi. :) Are you calling garbage collection after you unload? If you don't call for it then it may take a while for Flash to get around to doing it. http://www.craftymind.com/2008/04/09/kick-starting-the-garbage-collector-in- actionscript-3-with-air/ (The above article is AIR specific, but some of it should apply to Flash coding as well. I think...) ------------------------------ Andrew Murphy Interactive Media Developer amur...@delvinia.com Delvinia 370 King Street West, 5th Floor, Box 4 Toronto Canada M5V 1J9 P (416) 364-1455 ext. 232 F (416) 364-9830 W www.delvinia.com -----Original Message----- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Sumeet Kumar Sent: May 27, 2010 08:22 am To: Flash Coders List Subject: [Flashcoders] Loader.unload not freeing the memory Hi All, I have some AS2 swf files(with lots of AS2 code) which i am loading in a AS3 file using Loader Class Object. The problem is that once i unload the as2 swf from the AS3 file, the memory is not just getting freed. I have removed all the as3 listeners. Has anyone experinced something like this or is there something which i am doing wrong. Any guidance and suggestions in this regard would be a great help Thanks in Advance Sumeet Kumar _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders