| Package | dragonBones.events |
| Class | public class FrameEvent |
| Inheritance | FrameEvent flash.events.Event |
See also
| Property | Defined By | ||
|---|---|---|---|
| armature : Armature [read-only]
The armature that is the target of this event. | FrameEvent | ||
| bone : Bone [read-only]
The bone that is the target of this event. | FrameEvent | ||
| frameLabel : String
The entered frame label. | FrameEvent | ||
| movementID : String
The id of the MovementData instance. | FrameEvent | ||
| Method | Defined By | ||
|---|---|---|---|
FrameEvent(type:String, cancelable:Boolean = false, bone:Bone = null)
Creates a new FrameEvent instance. | FrameEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| BONE_FRAME_EVENT : String = boneFrameEvent [static]
Dispatched when a bone of the armature enter a frame. | FrameEvent | ||
| MOVEMENT_FRAME_EVENT : String = movementFrameEvent [static]
Dispatched when the animation of the armatrue enter a frame. | FrameEvent | ||
| armature | property |
armature:Armature [read-only] The armature that is the target of this event.
public function get armature():Armature| bone | property |
bone:Bone [read-only] The bone that is the target of this event.
public function get bone():Bone| frameLabel | property |
public var frameLabel:StringThe entered frame label.
| movementID | property |
public var movementID:StringThe id of the MovementData instance.
| FrameEvent | () | Constructor |
public function FrameEvent(type:String, cancelable:Boolean = false, bone:Bone = null)Creates a new FrameEvent instance.
Parameterstype:String | |
cancelable:Boolean (default = false) | |
bone:Bone (default = null) |
| BONE_FRAME_EVENT | Constant |
public static const BONE_FRAME_EVENT:String = boneFrameEventDispatched when a bone of the armature enter a frame.
| MOVEMENT_FRAME_EVENT | Constant |
public static const MOVEMENT_FRAME_EVENT:String = movementFrameEventDispatched when the animation of the armatrue enter a frame.