# \[mx 2004 pro\]swapdepth for movies belonging to different movie parent

**URL:** https://forum.kirupa.com/t/mx-2004-pro-swapdepth-for-movies-belonging-to-different-movie-parent/94824
**Category:** Uncategorized
**Created:** [November 17, 2003, 10:26am UTC](https://forum.kirupa.com/t/mx-2004-pro-swapdepth-for-movies-belonging-to-different-movie-parent/94824 "2003-11-17T10:26:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![t8024328](https://avatars.discourse-cdn.com/v4/letter/t/db5fbb/32.png) [@t8024328](https://forum.kirupa.com/u/t8024328)
#### Post date: [November 17, 2003, 10:26am UTC](https://forum.kirupa.com/t/mx-2004-pro-swapdepth-for-movies-belonging-to-different-movie-parent/94824/1 "2003-11-17T10:26:05Z")

</div>

How can I swapDepth 2 differents movies belonging to two different parent movie.

.i.e:  
the first movie group (movie1x are empty movie clip…use to import swf file in them).  
\_level0.movie11.tof11  
\_level0.movie12.tof12  
\_level0.movie13.tof13  
\_level0.movie14.tof14

the second movie group is :  
\_level0.movegen.xx

\_level0.movegen.movie\_btn1  
\_level0.movegen.movie\_btn2  
\_level0.movegen.movie\_btn3

How can I swap the Depth between one movie belonging to first group with the second group.

I have tried some “tricks” with getDepths or GetNexthighestDepth but it work only with movie belonging to the same parent…  
mx.behaviour.bringtoFront…does not work…  
Someone can help me…
