Packageorg.goasap.events
Classpublic class GoEvent
InheritanceGoEvent Inheritance flash.events.Event

Standard event set for all playable Go classes.



Public Properties
 PropertyDefined by
  extra : *
Enables additional objects or data to be packaged in any GoEvent.
GoEvent
Public Methods
 MethodDefined by
  
GoEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
GoEvent
Public Constants
 ConstantDefined by
  COMPLETE : String = "playableComplete"
[static] Indicates a playable instance that can end on its own has successfully finished.
GoEvent
  CYCLE : String = "playableCycle"
[static] Indicates a playable instance has completed a cycle or loop and is starting the next one.
GoEvent
  PAUSE : String = "playablePause"
[static] Indicates a playable instance was paused.
GoEvent
  RESUME : String = "playableResume"
[static] Indicates a playable instance was restarted from a paused state.
GoEvent
  START : String = "playableStart"
[static] Indicates a playable instance is starting.
GoEvent
  STOP : String = "playableStop"
[static] Indicates a playable instance was manually stopped.
GoEvent
  UPDATE : String = "playableUpdate"
[static] Indicates a playable instance is updating.
GoEvent
Property detail
extraproperty
public var extra:*

Enables additional objects or data to be packaged in any GoEvent. This provides some general flexibility, but subclass GoEvent to define specific conventions when possible.

Constructor detail
GoEvent()constructor
public function GoEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)

Parameters
type:String — The event type; indicates the action that triggered the event.
 
bubbles:Boolean (default = false) — Specifies whether the event can bubble up the display list hierarchy.
 
cancelable:Boolean (default = false) — Specifies whether the behavior associated with the event can be prevented.
Constant detail
COMPLETEconstant
public static const COMPLETE:String = "playableComplete"

Indicates a playable instance that can end on its own has successfully finished.

See also

CYCLEconstant 
public static const CYCLE:String = "playableCycle"

Indicates a playable instance has completed a cycle or loop and is starting the next one.

PAUSEconstant 
public static const PAUSE:String = "playablePause"

Indicates a playable instance was paused.

RESUMEconstant 
public static const RESUME:String = "playableResume"

Indicates a playable instance was restarted from a paused state.

STARTconstant 
public static const START:String = "playableStart"

Indicates a playable instance is starting.

STOPconstant 
public static const STOP:String = "playableStop"

Indicates a playable instance was manually stopped.

UPDATEconstant 
public static const UPDATE:String = "playableUpdate"

Indicates a playable instance is updating.