I’m using this code to unload a swf file and go back to the main menu. The main menu has no trouble loading the external swf files but for some reason unloading just doesn’t work :s
var BaseMovie:MovieClip = parent.parent as MovieClip;
BaseMovie.loader.unload();
Because the object is a parent of the object that is making the function call, which means that it has to remain an active reference. More code will be needed to give a better answer.