Packagecom.addicted2flash.tween.adapter
Classpublic class AbstractFluxAdapter
ImplementsIFluxAdapter
SubclassesDisplayFluxAdapter

Abstract class for IFluxAdapter implementations.



Protected Properties
 PropertyDefined by
  change : Number
Difference of start and end position
AbstractFluxAdapter
  easing : IFluxEasing
Easing object
AbstractFluxAdapter
  from : Number
Start position
AbstractFluxAdapter
  to : Number
End position
AbstractFluxAdapter
Public Methods
 MethodDefined by
  
AbstractFluxAdapter(from:Number, to:Number, easing:IFluxEasing = null)
Creates a new AbstractFluxAdapter.
AbstractFluxAdapter
  
finalize():void
Finalizes the property;
AbstractFluxAdapter
  
reverse():void
Swaps the start and end value.
AbstractFluxAdapter
  
update(t:int, d:int):void
Updates the property.
AbstractFluxAdapter
Property detail
changeproperty
protected var change:Number

Difference of start and end position

easingproperty 
protected var easing:IFluxEasing

Easing object

fromproperty 
protected var from:Number

Start position

toproperty 
protected var to:Number

End position

Constructor detail
AbstractFluxAdapter()constructor
public function AbstractFluxAdapter(from:Number, to:Number, easing:IFluxEasing = null)

Creates a new AbstractFluxAdapter.

Parameters
from:Number — start
 
to:Number — end position
 
easing:IFluxEasing (default = null) — easing
Method detail
finalize()method
public function finalize():void

Finalizes the property;

reverse()method 
public function reverse():void

Swaps the start and end value.

update()method 
public function update(t:int, d:int):void

Updates the property.

Parameters
t:int — elapsed time
 
d:int — total duration