|
-
Loading external SWF files
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
function BackToMenu(i:MouseEvent):void
{
var BaseMovie:MovieClip = parent.parent as MovieClip; //Sets up a way of unloading this swf (back to main menu).
BaseMovie.parent.removeChild(BaseMovie);
}
Edit: Code above now unloads loaded swf but just shows white.
Last edited by AntBirch; 04-30-2012 at 06:28 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|