# Swap depth tutorial not working after modification

**URL:** https://forum.kirupa.com/t/swap-depth-tutorial-not-working-after-modification/166890
**Category:** Uncategorized
**Created:** [October 23, 2005, 7:23pm UTC](https://forum.kirupa.com/t/swap-depth-tutorial-not-working-after-modification/166890 "2005-10-23T19:23:51Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![zephn](https://avatars.discourse-cdn.com/v4/letter/z/5f8ce5/32.png) [@zephn](https://forum.kirupa.com/u/zephn)
#### Post date: [October 23, 2005, 7:23pm UTC](https://forum.kirupa.com/t/swap-depth-tutorial-not-working-after-modification/166890/1 "2005-10-23T19:23:51Z")

</div>

edit: My problem is with swapping depth within a movie clip.

It all originates with this kirupa tutorial.  
[http://www.kirupa.com/developer/actionscript/swapdepth.htm](http://www.kirupa.com/developer/actionscript/swapdepth.htm)

Attached to the below link is a zip files containing the completed tutorial .fla and a second file similar .fla with one difference. I’ve taken the entirs contents and placed them withing a single movie clip.

[http://www.zephn.com/kirupa/swapdepthsdrag.zip](http://www.zephn.com/kirupa/swapdepthsdrag.zip)

When i put the entire contents within a movie clip it stopped working. At first I figured it was because the actionscript on the button aspect of the file did not point to the right object anymore because it chaged locations. I attempted to point it to the rihgt place but i think i goofed it without enough understanding of some aspects of actionscipt.

If anyone could help me it would be appretiated,

Thanks  
Zephn
