Packagecom.desuade.motion.events
Classpublic class MotionEvent
InheritanceMotionEvent Inheritance flash.events.Event
Subclasses ControllerEvent, PhysicsEvent, SequenceEvent, TweenEvent

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

This base event is created by any of the classes in the motion package.



Public Methods
 MethodDefined By
  
MotionEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new MotionEvent.
MotionEvent
  
clone():Event
[override]
MotionEvent
Public Constants
 ConstantDefined By
  ADVANCED : String = advanced
[static] This event gets broadcasted when a sequence moves to the next item.
MotionEvent
  ENDED : String = ended
[static] This event gets broadcasted when a MotionObject ends.
MotionEvent
  STARTED : String = started
[static] This event gets broadcasted when a MotionObject starts.
MotionEvent
  UPDATED : String = updated
[static] This event gets broadcasted when a value is updated.
MotionEvent
Constructor Detail
MotionEvent()Constructor
public function MotionEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)

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

Parameters
type:String
 
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 gets broadcasted when a sequence moves to the next item.

ENDEDConstant 
public static const ENDED:String = ended

This event gets broadcasted when a MotionObject ends.

STARTEDConstant 
public static const STARTED:String = started

This event gets broadcasted when a MotionObject starts.

UPDATEDConstant 
public static const UPDATED:String = updated

This event gets broadcasted when a value is updated.