Depth vs level

Which takes precedence in Flash, depth or level? Is it possible to force a MC depth to take over the load .swf level?

Hi,

I’ve just made a test and no, it looks like it doesn’t do it.
this is what the Flash reference says:

myMovieClip.swapDepths(depth)
myMovieClip.swapDepths(target)

Parameters

target The movie clip instance whose depth is swapped by the instance specified in myMovieClip. Both instances must have the same parent movie clip.
depth A number specifying the depth level where MovieClip is to?be?placed.

cheers

SHO

Hi, again.

You can allways load an swf into a MC, it doesn’t have to be a level.

SHO

PS.: why do post your question in two different threads?

levels and depths are two different things. depths live in levels much the same way as your swf lives in the player. as a matter of fact, the first swf loaded into the player is (by default) _level0. every timeline has it’s own depths, but only the player contains levels.
if the root of everything is the flash player, then the children of the player are the levels, and the children of the levels are depths.
is that more confusing or less confusing?
:slight_smile:
jeremy

well you are too smart for your own good… but i am still not sure that I understand it exactly…