Package | com.desuade.motion.tweens |
Class | public class PrimitiveBezierTween |
Inheritance | PrimitiveBezierTween ![]() ![]() ![]() |
Language Version : | ActionScript 3 |
Since : | 01.05.2009 |
Runtime Versions : | AIR 1.0, Flash Player 9.0.0 |
Property | Defined By | ||
---|---|---|---|
bezier : Array
The array that contains all the bezier points for the tween. | PrimitiveBezierTween | ||
![]() | duration : int
How long the tween will last in ms. | PrimitiveTween | |
![]() | ease : Function
What easing equation to use to tween. | PrimitiveTween | |
![]() | ended : Boolean = false
Has the Primitive ended or not. | BasePrimitive | |
![]() | endFunc : Function
The function to run on end. | BasePrimitive | |
![]() | id : int
This is the unique internal id of the item. | BasePrimitive | |
![]() | isclean : Boolean = true
This is used by the pool to determine if/how the Primitive has been used before in memory. | BasePrimitive | |
![]() | property : String
The property on the target. | BasePrimitive | |
![]() | target : Object
The target object. | BasePrimitive | |
![]() | updateFunc : Function
The function to run on update. | BasePrimitive | |
![]() | value : Number
The new (end) value the property will be tweened to. | PrimitiveTween |
Method | Defined By | ||
---|---|---|---|
This creates a new, raw PrimitiveTween. | PrimitiveBezierTween | ||
![]() | end(broadcast:Boolean = true):void
This ends the Primitive immediately. | BasePrimitive | |
init(... args):void [override]
This inits the PrimitiveBezierTween. | PrimitiveBezierTween | ||
render(time:int):void [override]
This renders the tween. | PrimitiveBezierTween |
bezier | property |
public var bezier:Array
The array that contains all the bezier points for the tween.
PrimitiveBezierTween | () | Constructor |
public function PrimitiveBezierTween()
This creates a new, raw PrimitiveTween. Users should use the Tween class, instead of creating this directly.
init | () | method |
override public function init(... args):void
This inits the PrimitiveBezierTween.
Parameters
... args — The target object to perform the tween on.
|
See also
render | () | method |
override public function render(time:int):void
This renders the tween. It calculates and sets the new value, and checks to see if the tween is finished.
Parameters
time:int — The current getTimer() time.
|