# Image and menu depths

**URL:** <https://forum.kirupa.com/t/image-and-menu-depths/278695>\
**Category:** Uncategorized\
**Created:** [January 4, 2009, 12:11am UTC](https://forum.kirupa.com/t/image-and-menu-depths/278695 "2009-01-04T00:11:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gpdesigner](https://avatars.discourse-cdn.com/v4/letter/g/839c29/32.png) [@gpdesigner](https://forum.kirupa.com/u/gpdesigner)\
**Post date:** [January 4, 2009, 12:11am UTC](https://forum.kirupa.com/t/image-and-menu-depths/278695/1 "2009-01-04T00:11:27Z")

</div>

Hello all,  
I have been searching posts for the last few days and I can’t seem to narrow down my particular issue. I see lots of posts and threads related to swap depths but I can’t seem to get it to work. I assume swap depths are what I need to do but I want to run the idea by you all . . .  
I have 5 mc each with an image and an animation, it’s your basic zoom menu. all are on the same layer and all on one frame. what is the best way to get images to the front of the rest as I do a mouse over?  
right now the example script I am using is  
stop();

this.onEnterFrame = function() {  
if (rewind == true) {  
prevFrame();   
}  
}

this.onRollOver = function() {  
rewind = false;  
play();  
mc\_complex.swapDepths(0);  
}

this.onRollOut = function() {  
rewind = true;

}

this.onRelease = function() {  
getURL(“[http://www.dfarm.ca](http://www.dfarm.ca)”,"\_blank")

}

any ideas  
gp
