# Arranging movie clips

**URL:** <https://forum.kirupa.com/t/arranging-movie-clips/265830>\
**Category:** flash\
**Created:** [July 13, 2008, 2:41am UTC](https://forum.kirupa.com/t/arranging-movie-clips/265830 "2008-07-13T02:41:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ameet](https://avatars.discourse-cdn.com/v4/letter/a/cc9497/32.png) [@ameet](https://forum.kirupa.com/u/ameet)\
**Post date:** [July 13, 2008, 2:41am UTC](https://forum.kirupa.com/t/arranging-movie-clips/265830/1 "2008-07-13T02:41:06Z")

</div>

I have created four menus and have placed in cascading style (ie. overlaping one after another, showing partially the below one), Now I want each menu come above (front)when I click it, (ie, when I click the second, third or the fourth menu, it should come above in 1st place and the 1st menu should get below it). Please let me know how to do this in using actionscript 2.0.

Amit

---

<div class="post-metadata">

**Author:** ![neilmmm](https://avatars.discourse-cdn.com/v4/letter/n/ee7513/32.png) [@neilmmm](https://forum.kirupa.com/u/neilmmm)\
**Post date:** [July 13, 2008, 7:39pm UTC](https://forum.kirupa.com/t/arranging-movie-clips/265830/2 "2008-07-13T19:39:14Z")

</div>

```auto
function swap () {
 this.swapDepths(this._parent.getNextHighestDepth());
}
a_mc.onRelease=b_mc.onRelease=c_mc.onRelease=d_mc.onRelease=swap;

```
