dupMC: Fade in each button?

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/ . 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

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, by simply using tweens.

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.

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, 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

Thanks again excidium :slight_smile:

appreciate your direction. I’ll give it shot…

no problem :)!!