# Swap depth?

**URL:** <https://forum.kirupa.com/t/swap-depth/260542>\
**Category:** Uncategorized\
**Created:** [May 16, 2008, 4:22pm UTC](https://forum.kirupa.com/t/swap-depth/260542 "2008-05-16T16:22:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eMi971](https://avatars.discourse-cdn.com/v4/letter/e/f07891/32.png) [@eMi971](https://forum.kirupa.com/u/eMi971)\
**Post date:** [May 16, 2008, 4:22pm UTC](https://forum.kirupa.com/t/swap-depth/260542/1 "2008-05-16T16:22:27Z")

</div>

hey,  
flash cs3, as2, i have a movie clip that is a panel composed of multiple little image, in this MC each little image is a MC itself, with this code on:  
\*onClipEvent(enterFrame){  
if(this.hitTest(\_root.\_xmouse, \_root.\_ymouse)){  
this.nextFrame();

}  
else {  
this.prevFrame();  
}

}\*

in each of this lil MC you have a rollover animation, that brings the concerned image to the center of the stage and then scale up,  
my pb is that this animation happens behind the movie clip, how do i bring it in front?  
heeeeeeelp!  
thanks:angel:

---

<div class="post-metadata">

**Author:** ![Nick5185](https://avatars.discourse-cdn.com/v4/letter/n/e95f7d/32.png) [@Nick5185](https://forum.kirupa.com/u/Nick5185)\
**Post date:** [May 16, 2008, 4:28pm UTC](https://forum.kirupa.com/t/swap-depth/260542/2 "2008-05-16T16:28:47Z")

</div>

Im not completely sure.

I think the best way is to create emptyMovieClip on different levels and call upon certain mc’s

EDIT:  
Lol I just re-read what I wrote and it makes no sense… good luck with that!
