| Package | dragonBones.events |
| Class | public class AnimationEvent |
| Inheritance | AnimationEvent flash.events.Event |
See also
| Property | Defined By | ||
|---|---|---|---|
| armature : Armature [read-only]
The armature that is the taget of this event. | AnimationEvent | ||
| exMovementID : String
The preceding MovementData id. | AnimationEvent | ||
| movementID : String
The current MovementData id. | AnimationEvent | ||
| Method | Defined By | ||
|---|---|---|---|
AnimationEvent(type:String, cancelable:Boolean = false)
Creates a new AnimationEvent instance. | AnimationEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| COMPLETE : String = complete [static]
Dispatched when the playback of a movement stops. | AnimationEvent | ||
| LOOP_COMPLETE : String = loopComplete [static]
Dispatched when the playback of a movement completes a loop. | AnimationEvent | ||
| MOVEMENT_CHANGE : String = movementChange [static]
Dispatched when the movement of animation is changed. | AnimationEvent | ||
| START : String = start [static]
Dispatched when the playback of an animation starts. | AnimationEvent | ||
| armature | property |
armature:Armature [read-only] The armature that is the taget of this event.
public function get armature():Armature| exMovementID | property |
public var exMovementID:StringThe preceding MovementData id.
| movementID | property |
public var movementID:StringThe current MovementData id.
| AnimationEvent | () | Constructor |
public function AnimationEvent(type:String, cancelable:Boolean = false)Creates a new AnimationEvent instance.
Parameterstype:String | |
cancelable:Boolean (default = false) |
| COMPLETE | Constant |
public static const COMPLETE:String = completeDispatched when the playback of a movement stops.
| LOOP_COMPLETE | Constant |
public static const LOOP_COMPLETE:String = loopCompleteDispatched when the playback of a movement completes a loop.
| MOVEMENT_CHANGE | Constant |
public static const MOVEMENT_CHANGE:String = movementChangeDispatched when the movement of animation is changed.
| START | Constant |
public static const START:String = startDispatched when the playback of an animation starts.