this code below is to fade-in(effect) the buttons in one frame, this will do but in the picture below it can be possible? its not working so please help me thanks in advance
import fl.transitions.*;
import fl.transitions.easing.*;
function onTweenProgress(event:TweenEvent):void
{
// do something as the tween progresses...
}
function onTweenEnd(event:TweenEvent):void
{
// do something when the tween ends...
}
var prop:String = "alpha";
var from:Number = 0;
var to:Number = 1;
var duration:Number =5;
var tween:Tween = new Tween(startThegame, prop, Strong.easeOut, from, to, duration, true);
tween.addEventListener(TweenEvent.MOTION_CHANGE, onTweenProgress);
tween.addEventListener(TweenEvent.MOTION_FINISH, onTweenEnd);
var tween1:Tween = new Tween(settings, prop, Strong.easeOut, from, to, duration, true);
tween1.addEventListener(TweenEvent.MOTION_CHANGE, onTweenProgress);
tween1.addEventListener(TweenEvent.MOTION_FINISH, onTweenEnd);