# swapDepths Issues

**URL:** <https://forum.kirupa.com/t/swapdepths-issues/252806>\
**Category:** flash\
**Created:** [February 23, 2008, 8:54pm UTC](https://forum.kirupa.com/t/swapdepths-issues/252806 "2008-02-23T20:54:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![triclops](https://avatars.discourse-cdn.com/v4/letter/t/ccd318/32.png) [@triclops](https://forum.kirupa.com/u/triclops)\
**Post date:** [February 23, 2008, 8:54pm UTC](https://forum.kirupa.com/t/swapdepths-issues/252806/1 "2008-02-23T20:54:55Z")

</div>

Hey everyone, I’m having some issues with stacking order when using swapDepths. I can get it so the MC comes to the top when its clicked however, the stacking order of the MC’s below is really off. I followed this tutorial:

[http://www.kirupa.com/developer/actionscript/swapdepth.htm](http://www.kirupa.com/developer/actionscript/swapdepth.htm)

regarding stacking order and it worked perfectly when publishing it for flash player 6, but no longer works when its published in any flash player after that. I need to publish it with flash player 9. I would appreciate any help anyone could give me. I’m ready to pull my hair out. Seems like such an easy task that I cannot figure out. Ⓜ

Thanks in advance.
