Timer.new

From GiderosMobile
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Available since: Gideros 2011.6
Class: Timer

Description

Creates a new Timer object with the specified delay and repeatCount states.

Timer.new(delay,repeatCount)

Parameters

delay: (any) the time interval between timer events in milliseconds
repeatCount: the number of repetitions. A value of 0 runs the timer infinitely. If nonzero, the timer runs the specified number of times and then stops