Interestingly, unloadAndStop () was intended for your exact situation. According to the docs ...
Example: A SWF file that has a music track is loaded into an application.
Later, the SWF is unloaded using Loader.unload ().
Though the SWF will be removed from the screen, the music will still be heard.
SOLUTION
Loader.unloadAndStop is a new addition to Action Script 3 API.
It helps developers to correctly stop and unload loaded content
using the Loader.load/loadBytes APIs.
...Flash Player recursively attempts to stop and clear as many
objects as possible (Sounds, NetStreams, EventListeners, etc.)
within the loaded SWF. This feature is especially useful
when unloading unknown 3rd party content.
, , !
, unloadAndStop().
Loader, .
private var currentMovie:DisplayObject;
private function loadSWF(url:String ):void
{
if( currentMovie != null )
{
//stop the sound playing in the current movie
//then remove it from the display list
removeChild( currentMovie );
currentMovie = null;
}
var loader:Loader = new Loader();
//configureListeners
request.url = url;
loader.load( request , context );
}
private function onLoadComplete(event:Event):void
{
currentMovie = event.target.loader.content;
//etc...
}