# Can not change stack order

**URL:** <https://forum.kirupa.com/t/can-not-change-stack-order/313030>\
**Category:** flash\
**Created:** [August 18, 2010, 9:42am UTC](https://forum.kirupa.com/t/can-not-change-stack-order/313030 "2010-08-18T09:42:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![phillyorkhunt](https://avatars.discourse-cdn.com/v4/letter/p/4bbf92/32.png) [@phillyorkhunt](https://forum.kirupa.com/u/phillyorkhunt)\
**Post date:** [August 18, 2010, 9:42am UTC](https://forum.kirupa.com/t/can-not-change-stack-order/313030/1 "2010-08-18T09:42:53Z")

</div>

Hi, this is my first post and first flash project…

I’m doing a simple animated scene involving 3 cups changing positions.  
I made each cup a symbol (movie clip) on a separate layer and used motion guides to animate them.  
Problem is: I need to change the ?stack order? during the animation so that cup\_2 passes “behind” cup\_3 and then cup\_2 passes “in front” of cup\_3.  
Cup\_2 passes behind ok because it is in a layer that is below cup\_3. But how do I make cup\_2 then pass in front of cup\_3 which is in its own separate layer that is listed below the layer of cup\_3 ?

I have done a lot of searching and tried a number of things like:  
\_root.Cup\_3.swapDepths (\_root.Cup\_2);

but to no avail  
I’m using MX Pro 2004 and the file in question can be found at:  
[http://www.siteofhand.com.au/\_media/SiteOfHand\_logo.fla](http://www.siteofhand.com.au/_media/SiteOfHand_logo.fla)

any help on this would be great…
