Hi -
I have a movie that I am using a sub-menu that has buttons that each tell a certain MovieClip to play. Problem is, the movie clips all overlap eachother - and I can't figure out how to bring the MC that is associated with the clicked button to the front. I thought I could use the swapDepths Actionscripting - but I'm not sure how to use this with a button's Actionscript code. I tried the following, but it doesn't seem to work. Do the Movieclips have to all be on one layer? Here is the link to the Flash SWF -- the menu I'm referring to is the only working one, the Welcome menu. Currently I have the buttons Actionscripted to tell all the other MovieClips to go to and Stop at Frame 1 -- but this is not really ideal...
http://www.ijdesign.com/LBA/
Trying this code:
on (release) {
this.outsidephoto.swapDepths(_root.getNextHighestD epth());
this.outsidetext.swapDepths(_root.getNextHighestDe pth());
//Movieclip GotoAndPlay Behavior
this.outsidetext.gotoAndPlay("2");
//End Behavior
//Movieclip GotoAndPlay Behavior
this.outside.gotoAndPlay("2");
//End Behavior
}
Thanks for any help!