Package | away3d.events |
Class | public class AnimationEvent |
Inheritance | AnimationEvent ![]() |
Property | Defined by | ||
---|---|---|---|
animation : Animation
A reference to the animation object that is relevant to the event.
| AnimationEvent |
Method | Defined by | ||
---|---|---|---|
Creates a new
AnimationEvent object. | AnimationEvent | ||
clone():Event
Creates a copy of the AnimationEvent object and sets the value of each property to match that of the original.
| AnimationEvent |
Constant | Defined by | ||
---|---|---|---|
CYCLE : String = "cycle" [static]
Defines the value of the type property of a cycle event object.
| AnimationEvent | ||
SEQUENCE_DONE : String = "sequenceDone" [static]
Defines the value of the type property of a sequenceDone event object.
| AnimationEvent | ||
SEQUENCE_UPDATE : String = "sequenceUpdate" [static]
Defines the value of the type property of a sequenceUpdate event object.
| AnimationEvent |
animation | property |
public var animation:Animation
A reference to the animation object that is relevant to the event.
AnimationEvent | () | constructor |
public function AnimationEvent(type:String, animation:Animation)
Parameters
type:String — The type of the event. Possible values are: AnimationEvent.CYCLE , AnimationEvent.SEQUENCE_UPDATE and AnimationEvent.SEQUENCE_DONE .
|
|
animation:Animation — A reference to the animation object that is relevant to the event.
|
clone | () | method |
public override function clone():Event
Creates a copy of the AnimationEvent object and sets the value of each property to match that of the original.
ReturnsEvent |
CYCLE | constant |
public static const CYCLE:String = "cycle"
Defines the value of the type property of a cycle event object.
SEQUENCE_DONE | constant |
public static const SEQUENCE_DONE:String = "sequenceDone"
Defines the value of the type property of a sequenceDone event object.
SEQUENCE_UPDATE | constant |
public static const SEQUENCE_UPDATE:String = "sequenceUpdate"
Defines the value of the type property of a sequenceUpdate event object.