# dupMC: Fade in each button?

**URL:** <https://forum.kirupa.com/t/dupmc-fade-in-each-button/106732>\
**Category:** Uncategorized\
**Created:** [April 8, 2004, 11:23am UTC](https://forum.kirupa.com/t/dupmc-fade-in-each-button/106732 "2004-04-08T11:23:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bchalker](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/bchalker/32/441_2.png) [@bchalker](https://forum.kirupa.com/u/bchalker)\
**Post date:** [April 8, 2004, 11:23am UTC](https://forum.kirupa.com/t/dupmc-fade-in-each-button/106732/1 "2004-04-08T11:23:52Z")

</div>

I have a question. I’m familiar somewhat with the duplicateMC() function but can not figure out how to do it - I see this everywhere BTW…

Check out [http://www.advanceflash.net/](http://www.advanceflash.net/) . The nav on the lower right comes in with a fade-swipe for each button. How would I actually have the transition occur? I have used the dupMC() for many nav sections, but the buttons always have the fade-swipe occur at the same tipe, rather than one after the other. Make sense?

Thanks

---

<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:** [April 8, 2004, 12:54pm UTC](https://forum.kirupa.com/t/dupmc-fade-in-each-button/106732/2 "2004-04-08T12:54:51Z")

</div>

Hi bchalker,  
Try to work with movieclips and labels, then let them behave like buttons. Like using:

this.onEnterFrame = function(){  
button1.onRelease = function(){  
this.gotoAndPlay(“label\_onRelease”); //here go to the label ‘label\_onRelease’  
}

This way you can create impressive animations like on [advanceflash.net](http://advanceflash.net), by simply using tweens.

---

<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:** [April 8, 2004, 12:59pm UTC](https://forum.kirupa.com/t/dupmc-fade-in-each-button/106732/3 "2004-04-08T12:59:44Z")

</div>

thanks excidium…

I generally use MCs as buttons, and understand how to create the over/out/release effects for the “buttons”, but not how to transition the buttons when they initially load in - you know, one after the other - top one fade-swipes in, then the next, then the next, etc.

---

<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:** [April 8, 2004, 1:14pm UTC](https://forum.kirupa.com/t/dupmc-fade-in-each-button/106732/4 "2004-04-08T13:14:46Z")

</div>

Try this:  
Make one movieclip (‘button’) which is the background of one button (the graphic).  
Place that one in a new movieclip called like ‘button\_animated’, there you animate the button with labels like ‘rollover’, ‘onRelease’, etc.  
Then make a movieclip called ‘allButtons’, here place the ‘button\_animated’ mc and give it instance ‘button1’, place it again for the second button and give instance ‘button2’, etc. If the animation of ‘button\_animated’ has an alpha tween, like [www.advanceflash.net](http://www.advanceflash.net), and you want ‘button2’ to fade in after ‘button1’, Simple put button two instead of frame 1 on frame 5 in ‘allButtons’, and repeat this for the rest of the buttons. Put the actions for onRelease, onRollOver, etc. in the movieClip ‘allButtons’ and this is a very simple and basic way to start.

Good luck

---

<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:** [April 8, 2004, 1:17pm UTC](https://forum.kirupa.com/t/dupmc-fade-in-each-button/106732/5 "2004-04-08T13:17:54Z")

</div>

Thanks again excidium 🙂

appreciate your direction. I’ll give it shot…

---

<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:** [April 8, 2004, 1:37pm UTC](https://forum.kirupa.com/t/dupmc-fade-in-each-button/106732/6 "2004-04-08T13:37:34Z")

</div>

no problem :)!!
