Hi,
I am creating a timeline animation and what I want to do is a two second pause in two different keyframes, the problem is that it is only working on the first keyframe.
This is the code I have in the firstkey frame:
this.stop();
var myTimer:Timer = new Timer(2000);
myTimer.addEventListener(TimerEvent.TIMER, function(event:TimerEvent):void
{
play();
}
);
myTimer.start();
And this is the code I have in my second keyframe:
stop();
myTimer= new Timer(2000);
myTimer.addEventListener(TimerEvent.TIMER, function(event:TimerEvent):void
{
play();
}
);
myTimer.start();
Any idea what could be wrong?
thanks,
fs_tigre