Property | Defined By | ||
---|---|---|---|
isActive : Boolean [read-only] is active. | Fader | ||
isIncrement : Boolean [read-only] is incrementation, | Fader | ||
value : Number [read-only] controling value. | Fader |
Method | Defined By | ||
---|---|---|---|
Fader(callback:Function = null, valueFrom:Number = 0, valueTo:Number = 1, frames:int = 60) constructor. | Fader | ||
execute():Boolean Execute
| Fader | ||
set fading values
| Fader | ||
stop():void Stop fading | Fader |
isActive | property |
isActive:Boolean
[read-only] is active.
public function get isActive():Boolean
isIncrement | property |
isIncrement:Boolean
[read-only] is incrementation,
public function get isIncrement():Boolean
value | property |
value:Number
[read-only] controling value.
public function get value():Number
Fader | () | Constructor |
public function Fader(callback:Function = null, valueFrom:Number = 0, valueTo:Number = 1, frames:int = 60)
constructor.
Parameterscallback:Function (default = null ) — The starting value.
| |
valueFrom:Number (default = 0 ) — The value chaging to.
| |
valueTo:Number (default = 1 ) — Changing frames.
| |
frames:int (default = 60 )
|
execute | () | method |
public function execute():Boolean
Execute
ReturnsBoolean — Activation changing. returns true when the execution is finished.
|
setFade | () | method |
public function setFade(callback:Function, valueFrom:Number = 0, valueTo:Number = 1, frames:int = 60):Fader
set fading values
Parameters
callback:Function — The starting value.
| |
valueFrom:Number (default = 0 ) — The value chaging to.
| |
valueTo:Number (default = 1 ) — Changing frames.
| |
frames:int (default = 60 )
|
Fader — this instance.
|
stop | () | method |
public function stop():void
Stop fading