# This.getNextHighestDepth() problems

**URL:** <https://forum.kirupa.com/t/this-getnexthighestdepth-problems/195277>\
**Category:** Uncategorized\
**Created:** [July 30, 2006, 12:09pm UTC](https://forum.kirupa.com/t/this-getnexthighestdepth-problems/195277 "2006-07-30T12:09:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kjhgvbnmk](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@kjhgvbnmk](https://forum.kirupa.com/u/kjhgvbnmk)\
**Post date:** [July 30, 2006, 12:09pm UTC](https://forum.kirupa.com/t/this-getnexthighestdepth-problems/195277/1 "2006-07-30T12:09:03Z")

</div>

Hello all, I’m trying to make a navigating where I have a empty MC that is to have movies from the library loaded into it. The empty MC has a movie loaded into it when you enter the frame (using onEnterFrame) and once you click a button, another movie is meant to take its place (using attachMovie). The problem is, I can’t seem to control the depths. As there is to be more library movies loaded into the empty MC, I want to use something like the “this.getNextHighestDepth()” rather than using numbers.

Can anyone help please!?
