This code:
var theTimer:Timer = new Timer(100, 0);
theTimer.addEventListener (TimerEvent.TIMER, trackTime);
theTimer.start ();
function trackTime (e:Event):void {
if (theTimer.currentCount % 10 == 0) {
trace (theTimer.currentCount);
}
}
should output every second, but only outputs about 36 times in a minute on my machine. Other values also seem to cause issues as well, but this one seems the worst. Can anyone confirm this?