I've got a movieclip created in actionscript:
LayerMask_MC -- highest depth
Menu_Item_MC
Menu_Item_Label_MC (child of Menu_Item_MC)
Menu_Item_Background_MC (child of Menu_Item_MC)
I would like to create a motion tween for Menu_Item_MC and not for LayerMask_MC. Essentially the motion tween would be just vertical movement downwards. Also, I would like to have a pause in between the creation of each new Menu_Item_MC, so that the entire animation looks staggard, and not like they are being animated at the same time.
I've found and then manipulated some code:
I'm curious where I can add like a pause() or a wait() function, so that the entire animation on the stage looks staggard.
Any ideas?
Thanks.
LayerMask_MC -- highest depth
Menu_Item_MC
Menu_Item_Label_MC (child of Menu_Item_MC)
Menu_Item_Background_MC (child of Menu_Item_MC)
I would like to create a motion tween for Menu_Item_MC and not for LayerMask_MC. Essentially the motion tween would be just vertical movement downwards. Also, I would like to have a pause in between the creation of each new Menu_Item_MC, so that the entire animation looks staggard, and not like they are being animated at the same time.
I've found and then manipulated some code:
Code:
function menuLoadAnimation() {
easeType = mx.transitions.easing.Regular.easeOut;
var begin = -25;
var end = 0;
var time = .5;
var mc = this;
_yTween = new mx.transitions.Tween(mc, "_y", easeType, begin, end, time, true);
}
Any ideas?
Thanks.