Packagecom.addicted2flash.tween
Interfacepublic interface IFlux extends IDisposable
ImplementorsFlux

Interface of tween objects.



Public Properties
 PropertyDefined by
  attachment : *
[read-only] Returns the specified attachment.
IFlux
  fluxObserverCount : int
[read-only] Returns the total amount of observers.
IFlux
  property : Property
[write-only] Sets first property of the flux.
IFlux
  state : int
[read-only] Returns the state of the IFlux.
IFlux
  totalDuration : int
[read-only] Returns the duration of the tween.
IFlux
Public Methods
 MethodDefined by
  
Adds a IFluxObserver.
IFlux
 Inherited
dispose():void
free memory for garbage collection.
IDisposable
  
pause():void
Pause the tween.
IFlux
  
Removes a IFluxObserver.
IFlux
  
resume():void
Resumes the tween.
IFlux
  
reverse():void
Starts the tween in reverse direction.
IFlux
  
start():void
Starts the tween.
IFlux
  
stop():void
Stopps the tween.
IFlux
Property detail
attachmentproperty
attachment:*  [read-only]

Returns the specified attachment.

Implementation
    public function get attachment():*
fluxObserverCountproperty 
fluxObserverCount:int  [read-only]

Returns the total amount of observers.

Implementation
    public function get fluxObserverCount():int
propertyproperty 
property:Property  [write-only]

Sets first property of the flux.

NOTE: use Property.create()

Implementation
    public function set property(value:Property):void
stateproperty 
state:int  [read-only]

Returns the state of the IFlux.

Implementation
    public function get state():int

See also

totalDurationproperty 
totalDuration:int  [read-only]

Returns the duration of the tween.

Implementation
    public function get totalDuration():int
Method detail
addFluxObserver()method
public function addFluxObserver(o:IFluxObserver):void

Adds a IFluxObserver.

Parameters
o:IFluxObserver — observer to be added
pause()method 
public function pause():void

Pause the tween.

removeFluxObserver()method 
public function removeFluxObserver(o:IFluxObserver):void

Removes a IFluxObserver.

Parameters
o:IFluxObserver — observer to be removed
resume()method 
public function resume():void

Resumes the tween.

reverse()method 
public function reverse():void

Starts the tween in reverse direction.

start()method 
public function start():void

Starts the tween.

stop()method 
public function stop():void

Stopps the tween.