# Flash 8 swapDepths on multiple frames

**URL:** <https://forum.kirupa.com/t/flash-8-swapdepths-on-multiple-frames/292002>\
**Category:** flash\
**Created:** [July 8, 2009, 8:45pm UTC](https://forum.kirupa.com/t/flash-8-swapdepths-on-multiple-frames/292002 "2009-07-08T20:45:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Boomyall](https://avatars.discourse-cdn.com/v4/letter/b/ee7513/32.png) [@Boomyall](https://forum.kirupa.com/u/Boomyall)\
**Post date:** [July 8, 2009, 8:45pm UTC](https://forum.kirupa.com/t/flash-8-swapdepths-on-multiple-frames/292002/1 "2009-07-08T20:45:20Z")

</div>

I was looking at swapDepths tutorials when i came across this one.

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

I downloaded the file and modified it to work with what i need it for. I added a extra frame and made it switch every time you released. But it glitches up and i have no idea why. Could someone please help me.

I attached the modified file.
