| Package | com.threerings.display |
| Class | public class FloatingTextAnimation |
| Inheritance | FloatingTextAnimation flash.display.Sprite |
| Implements | Animation |
| Property | Defined by | ||
|---|---|---|---|
| duration : Number | FloatingTextAnimation | ||
| dy : Number | FloatingTextAnimation | ||
| y : Number [write-only]
| FloatingTextAnimation | ||
| Property | Defined by | ||
|---|---|---|---|
| _startY : Number | FloatingTextAnimation | ||
| Method | Defined by | ||
|---|---|---|---|
|
FloatingTextAnimation(text:String, textArgs:Object = null, duration:Number = 1000, dy:int = -10)
| FloatingTextAnimation | ||
|
updateAnimation(elapsed:Number):void
| FloatingTextAnimation | ||
| duration | property |
public var duration:Number
| dy | property |
public var dy:Number
| _startY | property |
protected var _startY:Number
| y | property |
y:Number [write-only]Implementation
public function set y(value:Number):void
| FloatingTextAnimation | () | constructor |
public function FloatingTextAnimation(text:String, textArgs:Object = null, duration:Number = 1000, dy:int = -10)Parameters
text:String |
|
textArgs:Object (default = null) |
|
duration:Number (default = 1000) |
|
dy:int (default = -10) |
| updateAnimation | () | method |
public function updateAnimation(elapsed:Number):voidParameters
elapsed:Number |