# Actionscript help for MC's

**URL:** https://forum.kirupa.com/t/actionscript-help-for-mcs/20494
**Category:** flash
**Created:** [May 9, 2003, 4:39am UTC](https://forum.kirupa.com/t/actionscript-help-for-mcs/20494 "2003-05-09T04:39:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![HERMOSA](https://avatars.discourse-cdn.com/v4/letter/h/ed655f/32.png) [@HERMOSA](https://forum.kirupa.com/u/HERMOSA)
#### Post date: [May 9, 2003, 4:39am UTC](https://forum.kirupa.com/t/actionscript-help-for-mcs/20494/1 "2003-05-09T04:39:02Z")

</div>

Ok, I posted this the other day in another forum but didnt get anything i could use. ( not that i dont appreciate the help!) I know this is probally has a simple answer. but i cant figure it out. i have 3 buttons each controling a different movie clip, and the effect I want is when you click a button the assigned movie clip plays ontop of the last ( like building a sandwich ). basically this is because the movie clips are alpha tweens and i need that transition effect.

there has to be a simple way to do this becuase i see it on the net all the time.

The link is an example of what i want to do. On this site each time you click a button a new mc alpha tweens ontop of the last.  
Thanks in advance for all your help guys. (and girls)  
THIS IS THE SCRIPT IM USING TO CONTROL MY MC’s

fscommand(“allowscale”, false);  
stop();  
but1.onRelease = function() {  
collections.gotoAndPlay(“close”);};  
but2.onRelease = function() {  
store.gotoAndPlay(“close”);};  
but3.onRelease = function() {  
cover.gotoAndPlay(“close”);};

P.S. each mc is placed at a different depth on the main timeline of my file…Is this the problem? Thanks again!

[www.PaperDenim.com](http://paperdenim.com)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 9, 2003, 6:13am UTC](https://forum.kirupa.com/t/actionscript-help-for-mcs/20494/2 "2003-05-09T06:13:31Z")

</div>

not sure if i understand,

but try using swapdepths()

you can read about it here:  
[http://www.macromedia.com/support/flash/ts/documents/swapdepths.htm](http://www.macromedia.com/support/flash/ts/documents/swapdepths.htm)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 9, 2003, 5:47pm UTC](https://forum.kirupa.com/t/actionscript-help-for-mcs/20494/3 "2003-05-09T17:47:51Z")

</div>

i cant believe i asked that earlier. thanks for your help though. i finally got it.

I knew there was a simple answer to that:)
