eelixduppy - 11:19 pm on Jul 15, 2008 (gmt 0) The new addition to the Actionscript 3.0 API is unloadAndStop:
A little late on the news, but...
Flash Player 10 beta 2 was released on 7/2/2008 and includes new features and bug fixes [labs.adobe.com]. The Mac build was refreshed on 7/7/2008.
See for the updated items in the release notes: [labs.adobe.com...]
This new ActionScript 3.0 API extends the Loader.unload API to help unloaded content use zero CPU and potentially unload from memory. After calling unloadAndStop on loaded content the player will attempt to stop all playback of MovieClips (recursively), and remove references to as many objects as possible (Sounds, NetStreams, EventListeners, etc.) that were not cleaned up by the unloaded movie. This will make it far more likely that the Garbage Collector will collect the memory used by this loaded file. This is useful when unloading unknown 3rd party content.
The new addition to the Actionscript 3.0 API is unloadAndStop: