# Depth Help!

**URL:** <https://forum.kirupa.com/t/depth-help/258032>\
**Category:** flash\
**Created:** [April 19, 2008, 10:33pm UTC](https://forum.kirupa.com/t/depth-help/258032 "2008-04-19T22:33:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![establishment](https://avatars.discourse-cdn.com/v4/letter/e/a4c791/32.png) [@establishment](https://forum.kirupa.com/u/establishment)\
**Post date:** [April 19, 2008, 10:33pm UTC](https://forum.kirupa.com/t/depth-help/258032/1 "2008-04-19T22:33:00Z")

</div>

Hello,  
I’m having trouble making a movie clip (portfolio\_mc) appear on top of another movie clip. (bg\_mc) I’ve tried setting portfolio\_mc to the next highest depth using the following directly on the movie clip.

onClipEvent(enterFrame) {  
this.swapDepths(portfolio\_mc.getNextHighestDepth());  
}

I’ve also tried multiple times to set bg\_mc to the lowest depth possible, but my novice AS skills are hopeless.

Are there any other ways I can set portfolio\_mc’s depth to the highest possible?  
(or bg\_mc’s depth to the lowest possible…)
