I’m trying to automatically set up a rotating animation via the Timer Event. There’s a Movie Clip called main_mc that’s X position is changed with a Tween.
Can the Timer Event run multiple events or is it only 1 per Timer?
var auotT:Timer = new Timer(5000);
autoT.addEventListener(TimerEvent.TIMER, onAuto);
autoT.start();
function onAuto(evt:TimerEvent):void {
if (some condition exists) {
play first part
}
else if (some other condition exists) {
play second part
}
etc...
}
Or do I have to create a timer event for each part?