I have my main menu movieclip placed on the main stages and I use it to load some external swfs
However when I load them, the menu disappears because it is covered by the loaded swf.
How can I set the depth of my top menu so that will always be visible when the external swfs are loaded? Should the depth be set on the main time line or inside the main manu movie clip? Hope someone can help
Note: this is the code in my main menu that I am using to load the swfs but my main menu is a movie clip placed on the main timeline…
var swf:MovieClip;
var loader:Loader = new Loader();
var defaultSWF:URLRequest = new URLRequest("swfs/welcome.swf");
loader.load(defaultSWF);
stage.addChild(loader);
function btnClick(event:MouseEvent):void{
stage.removeChild(loader);
var newSWFRequest:URLRequest = new URLRequest("swfs/" + event.target.name + ".swf");
loader.load(newSWFRequest);
stage.addChild(loader);
}
home.addEventListener(MouseEvent.CLICK, btnClick);
about.addEventListener(MouseEvent.CLICK, btnClick);
portfolio.addEventListener(MouseEvent.CLICK, btnClick);
media.addEventListener(MouseEvent.CLICK, btnClick);
blog.addEventListener(MouseEvent.CLICK, btnClick);
contact.addEventListener(MouseEvent.CLICK, btnClick);