Package | flare.core |
Class | public class Label3D |
Inheritance | Label3D Object |
See also
Property | Defined By | ||
---|---|---|---|
frameSpeed : Number = 1
The speed of the animation for this label. | Label3D | ||
from : int
Frame where animation begins. | Label3D | ||
length : int [read-only]
Returns the length of the animation label. | Label3D | ||
name : String
Name given to the animation. | Label3D | ||
to : int
Frame where animation ends. | Label3D |
Method | Defined By | ||
---|---|---|---|
Label3D(name:String, from:int, to:int, frameSpeed:Number = 1)
Creates a new Label3D object. | Label3D | ||
toString():String | Label3D |
frameSpeed | property |
public var frameSpeed:Number = 1
The speed of the animation for this label. Frame speed property only works when passing a Label3D object into gotoAndPlay method and overrides the current model frameSpeed property.
from | property |
public var from:int
Frame where animation begins. The frame number is zero-based.
length | property |
length:int
[read-only] Returns the length of the animation label.
public function get length():int
name | property |
public var name:String
Name given to the animation.
to | property |
public var to:int
Frame where animation ends. The frame number is zero-based.
Label3D | () | Constructor |
public function Label3D(name:String, from:int, to:int, frameSpeed:Number = 1)
Creates a new Label3D object.
Parametersname:String — Animation name.
| |
from:int — Frame where animation begins. The frame number is zero-based.
| |
to:int — Frame where animation ends. The frame number is zero-based.
| |
frameSpeed:Number (default = 1 )
|
toString | () | method |
public function toString():String
Returns
String — |