Timer
class haxe.TimerAvailable in flash, flash9, neko, js, phpExecutes a function repeatedly, waiting a set amount of time between calls. To use a timer, create it and set the
run method.
function new( time_ms : Int ) : VoidAvailable in flash, flash9, jsCreate a new timer that calls run every time_ms milliseconds.
function run() : VoidAvailable in flash, flash9, jsThe function that the timer calls. The timer starts when run is set.
function stop() : VoidAvailable in flash, flash9, jsStops the timer.
static function delay( f : Void -> Void, time_ms : Int ) : VoidAvailable in flash, flash9, jsCalls a function once after the specified delay.
static function stamp() : FloatReturns a timestamp, in seconds
version #3925, modified 2008-08-10 22:24:47 by ianxm