| Package | com.threerings.display |
| Class | public class AlphaFade |
| Inheritance | AlphaFade LinearAnimation AnimationImpl |
| Property | Defined by | ||
|---|---|---|---|
| _disp : DisplayObject | AlphaFade | ||
![]() | _done : Function | LinearAnimation | |
![]() | _duration : Number | LinearAnimation | |
![]() | _from : Number | LinearAnimation | |
![]() | _to : Number | LinearAnimation | |
| Method | Defined by | ||
|---|---|---|---|
|
AlphaFade(disp:DisplayObject, from:Number = 0, to:Number = 1, duration:Number = 1, done:Function = null)
Constructs a new AlphaFade instance.
| AlphaFade | ||
![]() |
isPlaying():Boolean
| AnimationImpl | |
![]() |
startAnimation():void
| AnimationImpl | |
![]() |
stopAnimation():void
| AnimationImpl | |
![]() |
updateAnimation(elapsed:Number):void
| LinearAnimation | |
|
updateForValue(value:Number):void
| AlphaFade | ||
| _disp | property |
protected var _disp:DisplayObject
| AlphaFade | () | constructor |
public function AlphaFade(disp:DisplayObject, from:Number = 0, to:Number = 1, duration:Number = 1, done:Function = null)Constructs a new AlphaFade instance. The alpha values should lie in [0, 1] and the duration is measured in milliseconds.
Parametersdisp:DisplayObject |
|
from:Number (default = 0) |
|
to:Number (default = 1) |
|
duration:Number (default = 1) |
|
done:Function (default = null) |
| updateForValue | () | method |
public override function updateForValue(value:Number):voidParameters
value:Number |