Finally setTimeout!

source url Finally after long days crying on the setInterval flash function they’ve introduced setTimeout!!! source link Which is a one-shot interval call!

function testMe() { trace("callback: "+getTimer()+" ms."); } var intervalID:Number = setTimeout(testMe, 1000); // clearTimeout(intervalID) // for clear the timeout

p.s. I’ve just uploaded some new tutorials on flash8

edit essays online