You would have to access the instance, get its first child (which should be flash.display.Loader) and call unload() on it. You should file a bug so we make this easier to do.
Alex Harui Flex SDK Developer Adobe Systems Inc.<http://www.adobe.com/> Blog: http://blogs.adobe.com/aharui From: [email protected] [mailto:[email protected]] On Behalf Of marcinkg Sent: Tuesday, October 06, 2009 5:38 AM To: [email protected] Subject: [flexcoders] Unloading embeded swf I do embed few swf files in my flex 3.4 application. For example there are two flash movies that I use in my preloader. Now, after the prelaoded has done its work, I would want these movies to be garbage collected. However, it does not happen... I have verified it in the flex builder profiler. Does anybody know of a way of disposing embeded swf files after they are not needed any more? FYI, my embedded swf files are plain graphical assets, or simple animations. -Marcin

