1 person found this helpful
Levels ascend, so 2 will be above 1.
Ok great! How do you trace the level of a loaded .swf?
If you are loading into levels you should use loadMovieNum or you should look into using the MovieClipLoader class—which is waaaayyy better than loadMovie/loadMovieNum!
However levels are difficult to work with since there isn't really a class that represents them and so the number of methods, events, and properties are a little limited and not really documented.
In fact is AS3 levels completely go away, so it really isn't the best thing to use.
However. If you put code on a timeline:
trace("Hello from movie1.swf I'm at: "+this);
The trace will show which _level the clip is on.
Also a little known trick is to do something like:
which will swap the stacking order of the levels. Of course you have to wait until the content is loaded into the level because it doesn't exist before that. And they won't be renamed so it can get very confusing if higher number usually means higher in the stacking order...