Packagecom.desuade.motion.tweens
Classpublic class PrimitiveMultiTween
InheritancePrimitiveMultiTween 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's used to tween multiple properties on an object in a single tween.



Public Properties
 PropertyDefined By
 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.
PrimitiveMultiTween
 Inherited
end(broadcast:Boolean = true):void
This ends the Primitive immediately.
BasePrimitive
  
init(... args):void
[override] This inits the PrimitiveMultiTween.
PrimitiveMultiTween
  
render(time:int):void
[override] This renders the tween.
PrimitiveMultiTween
Constructor Detail
PrimitiveMultiTween()Constructor
public function PrimitiveMultiTween()

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 PrimitiveMultiTween.

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.