Hi, I have created a simple example and I cant get this to work.
var l:Loader = new Loader();
l.load(new URLRequest("as2filewithsound.swf"));
addChild(l);
unloadButton.addEventListener(MouseEvent.CLICK, function(){
l.unload()
l = null;
});
If i unload the swf before the sound get initialized its fine but otherwise the sound keeps playing… which is weird… you would think that it will unload with the loader…
I need to make sure the sound gets killed.
anyone had this problem?