SequenceEvent
Kind of class: | public class |
---|---|
Package: | org.casalib.events |
Inherits from: | Event |
Dispatched by: | |
Version: | 10/27/08 |
Author: | Jon Adams, Aaron Clinger |
Classpath: | org.casalib.events.SequenceEvent |
File last modified: | Monday, 01 December 2008, 11:56:32 |
An event dispatched from Sequence.
Summary
Constructor
- SequenceEvent (type:String, bubbles:Boolean = false, cancelable:Boolean = false)
- Creates a new SequenceEvent.
Instance properties
- loops : uint
- The number of times the sequence has run.
Constructor
SequenceEvent
public function SequenceEvent (
type:String,
bubbles:Boolean = false,
cancelable:Boolean = false)
Creates a new SequenceEvent.
Parameters:
type :
The type of event.
bubbles :
Determines whether the Event object participates in the bubbling stage of the event flow.
cancelable:
Determines whether the Event object can be canceled.
Constants
COMPLETE
public static const COMPLETE:String = 'complete'
(read)
LOOP
public static const LOOP:String = 'loop'
(read)
RESUME
public static const RESUME:String = 'resume'
(read)
START
public static const START:String = 'start'
(read)
STOP
public static const STOP:String = 'stop'
(read)
Instance properties
loops
public loops:uint
(read,write)
The number of times the sequence has run.
Instance methods
clone
override public function clone (
) : Event
Returns:
- Duplicates an instance of the event.
Overrides:
- Event.clone
toString
override public function toString (
) : String
Returns:
- A string containing all the properties of the event.
Overrides:
- Event.toString