| Package | com.desuade.motion.events |
| Class | public class MotionEvent |
| Inheritance | MotionEvent 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 |
| Method | Defined By | ||
|---|---|---|---|
MotionEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new MotionEvent. | MotionEvent | ||
clone():Event [override]
| MotionEvent | ||
| Constant | Defined 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 | ||
| 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.
Parameterstype:String | |
bubbles:Boolean (default = false) | |
cancelable:Boolean (default = false) |
| clone | () | method |
override public function clone():EventReturns
Event |
| ADVANCED | Constant |
public static const ADVANCED:String = advancedThis event gets broadcasted when a sequence moves to the next item.
| ENDED | Constant |
public static const ENDED:String = endedThis event gets broadcasted when a MotionObject ends.
| STARTED | Constant |
public static const STARTED:String = startedThis event gets broadcasted when a MotionObject starts.
| UPDATED | Constant |
public static const UPDATED:String = updatedThis event gets broadcasted when a value is updated.