This class extends the flash.utils.Timer class and implement the pegas.transitions.ITimer class.
The Timer class is the interface to Flash Player timers.
You can create new Timer objects to run code on a specified time sequence.
Use the start() method to start a timer.
Add an event listener for the timer event to set up code to be run on the timer interval.
public function Timer(delay:Number, repeatCount:int = 0)
Constructs a new Timer object with the specified delay and repeatCount states.
The timer does not start automatically; you must call the start() method to start it.
Parameters
| delay:Number — The delay between timer events, in milliseconds.
|
| |
| repeatCount:int (default = 0) — Specifies the number of repetitions. If zero, the timer repeats infinitely. If nonzero, the timer runs the specified number of times and then stops.
|