I got swapDepths working great but when I change the depth of the movieclips (backgrounds for my site in this case) it also puts the backgrounds above the border and buttons of the site, which of course I don’t want to happen. Here is the site w/o the swapDepths so you can see how it should work (I’m trying swapDepths to get rid of that flash between external movies):
>> Without swapDepths <<
I just need to know how to keep the border, buttons, and one other movieclip always above the backgrounds I’m swaping Depths. Also if you know how I can load the movie once then after its loaded just have the movieclips swapDepth that might help with the flashing as well. Right now I’m using this code (on the “Fantasy” button) Same code on the others, but different movieclip names and labels of course:
on (release) {
loadMovie("mcPyramid.swf", "_root.fantasy_container_mc");
_root.gotoAndStop("Fantasy");
_root.x +=2;
_root.fantasy_container_mc.swapDepths(_root.x);
}