Hi,
Parent swf loads a Child Swf. Button on Child swf closes child swf and dispatches event to Parent Swf to listen for to remove the child swf from the stage. Here is the code on the Parent swf that does that:
private function unloadGame(e:Event):void
{
this.removeEventListener("unloadMe", unloadGame, false);// removing event
removeChild(childClip);// removing child SWF here
myLoader.unloadAndStop();
SoundMixer.stopAll();
}
BUT,
function within the child swf is still going on… this function randomly calls different sounds and I can still hear those sounds! How can I stop this function? unloadAndStop() and SoundMixer.stopAll() aren’t working. Any thoughts appreciated!