A Timer object dispatches a TimerEvent objects whenever the Timer object
reaches the interval specified by the Timer.delay
property.
Constructor
new (type:String, bubbles:Bool = false, cancelable:Bool = false)
Creates an Event object with specific information relevant to
timer
events. Event objects are passed as parameters to event
listeners.
Parameters:
type | The type of the event. Event listeners can access this
information through the inherited |
---|---|
bubbles | Determines whether the Event object bubbles. Event
listeners can access this information through the
inherited |
cancelable | Determines whether the Event object can be canceled.
Event listeners can access this information through the
inherited |
Methods
Static variables
staticinline read onlyTIMER:String = "timer"
Defines the value of the type
property of a
timer
event object.
This event has the following properties:
staticinline read onlyTIMER_COMPLETE:String = "timerComplete"
Defines the value of the type
property of a
timerComplete
event object.
This event has the following properties: