| Package | com.addicted2flash.tween |
| Class | public class Flux |
| Implements | IFlux |
| Property | Defined by | ||
|---|---|---|---|
| attachment : * [read-only]
Returns the specified attachment.
| Flux | ||
| fluxObserverCount : int [read-only]
Returns the total amount of observers.
| Flux | ||
| property : Property
[write-only]
Sets first property of the flux.
| Flux | ||
| state : int [read-only]
Returns the state of the
IFlux. | Flux | ||
| totalDuration : int [read-only]
Returns the duration of the tween.
| Flux | ||
| Method | Defined by | ||
|---|---|---|---|
|
addFluxObserver(o:IFluxObserver):void
Adds a
IFluxObserver. | Flux | ||
|
[static]
Creates a new
Flux. | Flux | ||
|
[static]
Creates a new
Flux and automatically starts it. | Flux | ||
|
dispose():void
free memory for garbage collection.
| Flux | ||
|
pause():void
Pause the tween.
| Flux | ||
|
removeFluxObserver(o:IFluxObserver):void
Removes a
IFluxObserver. | Flux | ||
|
resume():void
Resumes the tween.
| Flux | ||
|
reverse():void
Starts the tween in reverse direction.
| Flux | ||
|
start():void
Starts the tween.
| Flux | ||
|
stop():void
Stopps the tween.
| Flux | ||
| attachment | property |
attachment:* [read-only]Returns the specified attachment.
Implementation public function get attachment():*
| fluxObserverCount | property |
fluxObserverCount:int [read-only]Returns the total amount of observers.
Implementation public function get fluxObserverCount():int
| property | property |
property:Property [write-only]Sets first property of the flux.
NOTE: use Property.create()
public function set property(value:Property):void
| state | property |
state:int [read-only]
Returns the state of the IFlux.
public function get state():int
| totalDuration | property |
totalDuration:int [read-only]Returns the duration of the tween.
Implementation public function get totalDuration():int
| addFluxObserver | () | method |
public function addFluxObserver(o:IFluxObserver):void
Adds a IFluxObserver.
o:IFluxObserver — observer to be added
|
| create | () | method |
public static function create(duration:int, delay:int, attachment:Property = null, property:* = null):IFlux
Creates a new Flux.
duration:int — duration of the tween
|
|
delay:int — if object should be disposed after tweening (faster!)
|
|
attachment:Property (default = null) — property to render (can be nested as linked list)
|
|
property:* (default = null) |
IFlux —
flux
|
| createAndStart | () | method |
public static function createAndStart(duration:int, delay:int, runOnce:Boolean, attachment:Property, property:*):IFlux
Creates a new Flux and automatically starts it.
duration:int — duration of the tween
|
|
delay:int — if object should be disposed after tweening (faster!)
|
|
runOnce:Boolean — property to render (can be nested as linked list)
|
|
attachment:Property |
|
property:* |
IFlux —
flux
|
| dispose | () | method |
public function dispose():voidfree memory for garbage collection.
| pause | () | method |
public function pause():voidPause the tween.
| removeFluxObserver | () | method |
public function removeFluxObserver(o:IFluxObserver):void
Removes a IFluxObserver.
o:IFluxObserver — observer to be removed
|
| resume | () | method |
public function resume():voidResumes the tween.
| reverse | () | method |
public function reverse():voidStarts the tween in reverse direction.
| start | () | method |
public function start():voidStarts the tween.
| stop | () | method |
public function stop():voidStopps the tween.