Packagepegas.transitions
Interfacepublic interface ITimer
ImplementorsFrameTimer, Timer

This interface defines the methods to implement timer object create tile interval process.



Public Properties
 PropertyDefined by
  currentCount : int
[read-only] The total number of times the timer has fired since it started at zero.
ITimer
  delay : Number
The delay, in milliseconds, between timer events.
ITimer
  repeatCount : int
The total number of times the timer is set to run.
ITimer
Public Methods
 MethodDefined by
  
reset():void
Stops the timer, if it is running, and sets the currentCount property back to 0, like the reset button of a stopwatch.
ITimer
  
start():void
Starts the timer, if it is not already running.
ITimer
  
stop():void
Stops the timer.
ITimer
Property detail
currentCountproperty
currentCount:int  [read-only]

The total number of times the timer has fired since it started at zero.

Implementation
    public function get currentCount():int
delayproperty 
delay:Number  [read-write]

The delay, in milliseconds, between timer events.

Implementation
    public function get delay():Number
    public function set delay(value:Number):void
repeatCountproperty 
repeatCount:int  [read-write]

The total number of times the timer is set to run.

Implementation
    public function get repeatCount():int
    public function set repeatCount(value:int):void
Method detail
reset()method
public function reset():void

Stops the timer, if it is running, and sets the currentCount property back to 0, like the reset button of a stopwatch.

start()method 
public function start():void

Starts the timer, if it is not already running.

stop()method 
public function stop():void

Stops the timer.