Packagecom.desuade.motion.tweens
Classpublic class PrimitiveBezierTween
InheritancePrimitiveBezierTween Inheritance PrimitiveTween Inheritance BasePrimitive Inheritance Object

Language Version : ActionScript 3
Since : 01.05.2009
Runtime Versions : AIR 1.0, Flash Player 9.0.0

This is a PrimitiveTween that also has bezier points, used by the Tween class to create bezier tweens.



Public Properties
 PropertyDefined By
  bezier : Array
The array that contains all the bezier points for the tween.
PrimitiveBezierTween
 Inheritedduration : int
How long the tween will last in ms.
PrimitiveTween
 Inheritedease : Function
What easing equation to use to tween.
PrimitiveTween
 Inheritedended : Boolean = false
Has the Primitive ended or not.
BasePrimitive
 InheritedendFunc : Function
The function to run on end.
BasePrimitive
 Inheritedid : int
This is the unique internal id of the item.
BasePrimitive
 Inheritedisclean : Boolean = true
This is used by the pool to determine if/how the Primitive has been used before in memory.
BasePrimitive
 Inheritedproperty : String
The property on the target.
BasePrimitive
 Inheritedtarget : Object
The target object.
BasePrimitive
 InheritedupdateFunc : Function
The function to run on update.
BasePrimitive
 Inheritedvalue : Number
The new (end) value the property will be tweened to.
PrimitiveTween
Public Methods
 MethodDefined By
  
This creates a new, raw PrimitiveTween.
PrimitiveBezierTween
 Inherited
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
Property Detail
bezierproperty
public var bezier:Array

The array that contains all the bezier points for the tween.

Constructor Detail
PrimitiveBezierTween()Constructor
public function PrimitiveBezierTween()

This creates a new, raw PrimitiveTween. Users should use the Tween class, instead of creating this directly.

Method Detail
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.