I've some loadMovie() functions for .swf files in an array, BUT also would like to bring it the top, as it were, with:
mainstage.swapDepths(getNextHighestDepth());
mainstage being the targeted movie clip for the swf. It appears to work, but after a time, though, the whole things starts blanking out and tweaking. Any thoughts?
Code:
function setStage() {
unloadMovie(mainstage);
unloadMovie(textarea);
mainstage.swapDepths(getNextHighestDepth());
}
function idClick(art, txt) {
gotoAndPlay("id");
setStage();
loadMovie(idArtList[art], mainstage);
loadMovie(idList[txt], textarea);
}
Also, the **Click(); functions are called by on (release) of course.
Could it be just testing with duplicate array members screwing things up? Any ideas? Some better techniques?
The end result should be some art loads in a movieclip on one side, and text loads in the other. It all seems so simple...
Thanks.