Packageflare.core
Classpublic class Label3D
InheritanceLabel3D Inheritance Object

The Label3D class defines labels to be used for 3d object animation.

See also

flare.core.Pivot3D
Pivot3D labels
Pivot3D addLabel()
Pivot3D getLabel()
Pivot3D playLabel()
Pivot3D removeLabel()


Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined By
  
Label3D(name:String, from:int, to:int, frameSpeed:Number = 1)
Creates a new Label3D object.
Label3D
  
toString():String
Label3D
Property Detail
frameSpeedproperty
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.

fromproperty 
public var from:int

Frame where animation begins. The frame number is zero-based.

lengthproperty 
length:int  [read-only]

Returns the length of the animation label.


Implementation
    public function get length():int
nameproperty 
public var name:String

Name given to the animation.

toproperty 
public var to:int

Frame where animation ends. The frame number is zero-based.

Constructor Detail
Label3D()Constructor
public function Label3D(name:String, from:int, to:int, frameSpeed:Number = 1)

Creates a new Label3D object.

Parameters
name: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)
Method Detail
toString()method
public function toString():String

Returns
String