Answered
More than one Pause Timer
Hi,
I'm animating a sunset and would like it to pause for a few seconds between motion tweens. I have one "pause" timer set up in actionScript:
this.stop();
var timelinePause:Timer = new Timer(6000, 1);
timelinePause.addEventListener(TimerEvent.TIMER, timerHandler);
timelinePause.start();
function timerHandler(evt:Object):void {
this.play();
}
but when I add another in a later frame, I get these errors:
1151: A conflict exists with definition timelinePause in namespace internal.
I'm animating a sunset and would like it to pause for a few seconds between motion tweens. I have one "pause" timer set up in actionScript:
this.stop();
var timelinePause:Timer = new Timer(6000, 1);
timelinePause.addEventListener(TimerEvent.TIMER, timerHandler);
timelinePause.start();
function timerHandler(evt:Object):void {
this.play();
}
but when I add another in a later frame, I get these errors:
1151: A conflict exists with definition timelinePause in namespace internal.