| Package | com.addicted2flash.tween.adapter |
| Class | public class AbstractFluxAdapter |
| Implements | IFluxAdapter |
| Subclasses | DisplayFluxAdapter |
IFluxAdapter implementations.
| Property | Defined 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 | ||
| Method | Defined 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 | ||
| change | property |
protected var change:NumberDifference of start and end position
| easing | property |
protected var easing:IFluxEasingEasing object
| from | property |
protected var from:NumberStart position
| to | property |
protected var to:NumberEnd position
| AbstractFluxAdapter | () | constructor |
public function AbstractFluxAdapter(from:Number, to:Number, easing:IFluxEasing = null)
Creates a new AbstractFluxAdapter.
from:Number — start
|
|
to:Number — end position
|
|
easing:IFluxEasing (default = null) — easing
|
| finalize | () | method |
public function finalize():voidFinalizes the property;
| reverse | () | method |
public function reverse():voidSwaps the start and end value.
| update | () | method |
public function update(t:int, d:int):voidUpdates the property.
Parameterst:int — elapsed time
|
|
d:int — total duration
|