# Swap depth...elegantly

**URL:** <https://forum.kirupa.com/t/swap-depth-elegantly/140251>\
**Category:** Uncategorized\
**Created:** [March 9, 2005, 3:47pm UTC](https://forum.kirupa.com/t/swap-depth-elegantly/140251 "2005-03-09T15:47:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![roller](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@roller](https://forum.kirupa.com/u/roller)\
**Post date:** [March 9, 2005, 3:47pm UTC](https://forum.kirupa.com/t/swap-depth-elegantly/140251/1 "2005-03-09T15:47:52Z")

</div>

I’d like to ask 4 some help regarding swap depth. I’d like to do this in a more elegant way, because currently I’'m loading external movies into a greater and greater level. It’s working alright, but the final effect is really not what I want to do…  
What I’d like it to do is:  
1, Load a movie\_1 in (let’s say) level3  
2. load movie\_2 in level 4, when it loaded I’d like to unload movie\_1  
3. load movie\_2 into level three so if I press button nr 3, 4 5 etc,  
the corresponding external swf is level 4.

So basicly I want to load a movie in a higher level that the previos movie, when it is loaded want to delete the movie under it and swap depth to the lower level.

Hopefully I didn’t explane it to hard:)

Any ways find my current solution @ the following link:  
[www.mziq.hu/stuff/swapstuff.zip](http://www.mziq.hu/stuff/swapstuff.zip)
