# Depth vs level

**URL:** <https://forum.kirupa.com/t/depth-vs-level/8416>\
**Category:** Uncategorized\
**Created:** [November 20, 2002, 5:53pm UTC](https://forum.kirupa.com/t/depth-vs-level/8416 "2002-11-20T17:53:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ruth007](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@ruth007](https://forum.kirupa.com/u/ruth007)\
**Post date:** [November 20, 2002, 5:53pm UTC](https://forum.kirupa.com/t/depth-vs-level/8416/1 "2002-11-20T17:53:33Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 20, 2002, 6:40pm UTC](https://forum.kirupa.com/t/depth-vs-level/8416/2 "2002-11-20T18:40:37Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 20, 2002, 6:44pm UTC](https://forum.kirupa.com/t/depth-vs-level/8416/3 "2002-11-20T18:44:09Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 20, 2002, 7:20pm UTC](https://forum.kirupa.com/t/depth-vs-level/8416/4 "2002-11-20T19:20:02Z")

</div>

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?  
🙂  
jeremy

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 20, 2002, 7:30pm UTC](https://forum.kirupa.com/t/depth-vs-level/8416/5 "2002-11-20T19:30:40Z")

</div>

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