# Swap Depth with another Movie Clip?

**URL:** <https://forum.kirupa.com/t/swap-depth-with-another-movie-clip/249430>\
**Category:** flash\
**Created:** [January 18, 2008, 5:51pm UTC](https://forum.kirupa.com/t/swap-depth-with-another-movie-clip/249430 "2008-01-18T17:51:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xohol](https://avatars.discourse-cdn.com/v4/letter/x/59ef9b/32.png) [@xohol](https://forum.kirupa.com/u/xohol)\
**Post date:** [January 18, 2008, 5:51pm UTC](https://forum.kirupa.com/t/swap-depth-with-another-movie-clip/249430/1 "2008-01-18T17:51:15Z")

</div>

hello all,  
i have 2 clips on my stage.  
how can a swap the depths between the two of them?

in addition, how can i set the depth of a MovieClip?

Thanks for any help.

i used to do this:

clip1.swapDepths(clip2)

but AS3 has changed things, and i cant find the equivalent.
