Packagecom.desuade.motion.events
Classpublic class ControllerEvent
InheritanceControllerEvent Inheritance MotionEvent Inheritance flash.events.Event

Language Version : ActionScript 3
Since : 23.04.2009
Runtime Versions : AIR 1.0, Flash Player 9.0.0

This event is created by controller classes in the Motion package.



Public Properties
 PropertyDefined By
  data : Object
This this object that gets passed that has different objects depending on what event: STARTED and ENDED: controller ADVANCED: controller and position
ControllerEvent
Public Methods
 MethodDefined By
  
ControllerEvent(type:String, data:Object = null, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new ControllerEvent.
ControllerEvent
  
clone():Event
[override]
ControllerEvent
Public Constants
 ConstantDefined By
  ADVANCED : String = advanced
[static] This event is fired when a controller gets to and begins a tween from the next point.
ControllerEvent
  ENDED : String = ended
[static] This event is fired when a controller finishes and reaches the 'end' point.
ControllerEvent
  STARTED : String = started
[static] This event is fired when a controller starts at the 'begin' point.
ControllerEvent
 InheritedUPDATED : String = updated
[static] This event gets broadcasted when a value is updated.
MotionEvent
Property Detail
dataproperty
public var data:Object

This this object that gets passed that has different objects depending on what event:

STARTED and ENDED: controller

ADVANCED: controller and position

Constructor Detail
ControllerEvent()Constructor
public function ControllerEvent(type:String, data:Object = null, bubbles:Boolean = false, cancelable:Boolean = false)

Creates a new ControllerEvent. Events get dispatched internally, manual creation isn't necessary.

Parameters
type:String
 
data:Object (default = null)
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Method Detail
clone()method
override public function clone():Event

Returns
Event
Constant Detail
ADVANCEDConstant
public static const ADVANCED:String = advanced

This event is fired when a controller gets to and begins a tween from the next point.

ENDEDConstant 
public static const ENDED:String = ended

This event is fired when a controller finishes and reaches the 'end' point.

STARTEDConstant 
public static const STARTED:String = started

This event is fired when a controller starts at the 'begin' point.