Hi,
My text animation works perfectly, but doesn't repeat. How do I get this to repeat?
Sorry I don't know Flash that well, but I just want this to play over and over. Thanks.
var myArray:Array = ["Big",
"Holiday",
"Sale",
"Buy",
"Now",
"And",
"Save"];
Timer
var tm:Timer = new Timer(500,0);
tm.addEventListener(TimerEvent.TIMER, countdown);
function countdown(event:TimerEvent) {
if (myArray.length>0){
tx.text = myArray.shift();
}
}
tm.start();
I tried this
if (++myArray.length % 10 == 0)