# setDepth problem ... another instance appears!

**URL:** <https://forum.kirupa.com/t/setdepth-problem-another-instance-appears/46485>\
**Category:** flash\
**Created:** [March 25, 2004, 12:29am UTC](https://forum.kirupa.com/t/setdepth-problem-another-instance-appears/46485 "2004-03-25T00:29:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![karmakat](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/karmakat/32/476_2.png) [@karmakat](https://forum.kirupa.com/u/karmakat)\
**Post date:** [March 25, 2004, 12:29am UTC](https://forum.kirupa.com/t/setdepth-problem-another-instance-appears/46485/1 "2004-03-25T00:29:30Z")

</div>

setDepth problem … another instance appears!

* * *

When i use the command

menus.setDepth (2)

I get another instance of the same movie appearing over top of the original on the specified depth of 2. Both are visible.

Is this the way its supposed to work or is there a way to get rid of the old instance on its original depth?

-aleks
