# Swap function not working!

**URL:** <https://forum.kirupa.com/t/swap-function-not-working/275730>\
**Category:** Uncategorized\
**Created:** [November 18, 2008, 1:01am UTC](https://forum.kirupa.com/t/swap-function-not-working/275730 "2008-11-18T01:01:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yungwunn911](https://avatars.discourse-cdn.com/v4/letter/y/f04885/32.png) [@yungwunn911](https://forum.kirupa.com/u/yungwunn911)\
**Post date:** [November 18, 2008, 1:01am UTC](https://forum.kirupa.com/t/swap-function-not-working/275730/1 "2008-11-18T01:01:48Z")

</div>

Hi everyone,

Hope you can help. I am not a master in flash, so I try to take a contemplation of tutorial and try to mix them together. however, I have come into a jam in my latest project.

I am trying to make a basic flash website. With a simple navigation menu. One of the Menu option will lead to a section that will have a Z depth action script in it. So that I can stack some pictures and the user can shuffle and move them around. However, I cannot get the swap function to work in the movie! I can get it to work on a separate and fresh .fla file, but when i do the same step in the tutorial is fails. ☹

I am attaching the .fla here and hopefully, someone can shed some light for me! The link that has the swap function is the "whats new"section.

Thanks in advance!

-mike

EDIT: sorry can’t upload the FLA here so i have uploaded it elsewhere. here is the link

[http://www.box.net/shared/js5ajyald2](http://www.box.net/shared/js5ajyald2)

thanks!
