Hi Guys,
I have a pressing issue with a flash project in which I am using LoaderMax to load swf into a main application. I don't believe this is a LoaderMax issue, rather a flash bug in general or something having to to with application domains that I don't completely understand yet.
Here is my test setup in which I tracked down the memory issue I'm having in the project:
> I load an external swf file with the SWFLoader function into an empty movieclip in my main application
> the swf file contains a jpg image positioned on stage plus 4 additional images in the library which have their export for actionscript option set to true
> the swf file does not instantiate any of these images, nor does the main application into which the swf is loaded
> when I unload the swf, some memory gets released BUT a certain amount (which is connected to the number of images in the library) stays in the system memory.
> for unloading the swf I thoroughly remove all eventListeners, use loader.unload and loader.dispose(true), remove the container movieclip from the display list, null the reference to both the loader as well as the container mc into which the swf was loaded.
How do I get rid of the loaded library content of the loaded swf???