# MC depths

**URL:** https://forum.kirupa.com/t/mc-depths/152070
**Category:** flash
**Created:** [June 21, 2005, 12:07am UTC](https://forum.kirupa.com/t/mc-depths/152070 "2005-06-21T00:07:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![nugget](https://avatars.discourse-cdn.com/v4/letter/n/ebca7d/32.png) [@nugget](https://forum.kirupa.com/u/nugget)
#### Post date: [June 21, 2005, 12:07am UTC](https://forum.kirupa.com/t/mc-depths/152070/1 "2005-06-21T00:07:46Z")

</div>

hello,

i need help with finding out which mc is underneath the current one.  
here is my code to attach movies, buttons “b1 through b5”, and “words1 through words5” is the content. getting attached in “holder” on \_root.

```auto
 
for (var i = 1; i<6; i++) {
_root.nav["b"+i].onPress = function() {
num = this._name.toString().substring(1, 2);
_root.holder.attachMovie("words"+num, "words"+num, _root.holder.getNextHighestDepth());
};
}

```

once it is attached how could i get the mc on the depth below it?

thanks for help anyone.
