| Package | org.as3lib.kitchensync.action.tweentarget |
| Interface | public interface ITweenTarget extends INumericController |
| Subinterfaces | IFilterTweenTarget |
| Implementors | TargetProperty, TimelineController |
See also
| Property | Defined by | ||
|---|---|---|---|
| currentValue : Number
This is the current value of the tweenTarget.
| ITweenTarget | ||
| endValue : Number
The value that the tweenTarget will end on.
| ITweenTarget | ||
| startValue : Number
The value that the tweenTarget will begin from.
| ITweenTarget | ||
| Method | Defined by | ||
|---|---|---|---|
|
Create a copy of the tweenTarget object
| ITweenTarget | ||
|
reset():void
Reset the value to it's pre-tweened state.
| ITweenTarget | ||
|
updateTween(percentComplete:Number):Number
The main function that the Tween uses to update the TweenTarget.
| ITweenTarget | ||
| currentValue | property |
currentValue:Number [read-write]This is the current value of the tweenTarget.
Implementation public function get currentValue():Number
public function set currentValue(value:Number):void
| endValue | property |
endValue:Number [read-write]The value that the tweenTarget will end on.
Implementation public function get endValue():Number
public function set endValue(value:Number):void
| startValue | property |
startValue:Number [read-write]The value that the tweenTarget will begin from.
Implementation public function get startValue():Number
public function set startValue(value:Number):void
| clone | () | method |
| reset | () | method |
public function reset():voidReset the value to it's pre-tweened state. (typically, sets the currentValue equal to the startValue)
| updateTween | () | method |
public function updateTween(percentComplete:Number):NumberThe main function that the Tween uses to update the TweenTarget. Sets the percentage complete.
ParameterspercentComplete:Number — a number between 0 and 1 (but sometimes more or less) that represents
the percentage of the tween that has been completed. This should update
|
Number — Number the new current value of the tween.
|