# Depths

**URL:** <https://forum.kirupa.com/t/depths/178280>\
**Category:** Uncategorized\
**Created:** [February 9, 2006, 2:30am UTC](https://forum.kirupa.com/t/depths/178280 "2006-02-09T02:30:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CayoHueso](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@CayoHueso](https://forum.kirupa.com/u/CayoHueso)\
**Post date:** [February 9, 2006, 2:30am UTC](https://forum.kirupa.com/t/depths/178280/1 "2006-02-09T02:30:09Z")

</div>

Hi everybody,

I am having a problem swapping depths between MCs. I have one movie clip temp\_mc, which I want to be in front of everything in my movie.  
I have the code below in my first frame. Later, I load another movie into level 99. When I play the movie, \_level99 appears in front of \_level3000, which should be occupied by temp\_mc.

am I missing something here? Please help

```auto

_root.createEmptyMovieClip("swapHolder_mc",3000);
swapHolder_mc.swapDepths (temp_mc);

```

Thanks a lot
