The AnimationSequence class animates a property value of each object in a list of objects. The animation
proceeds sequentially through the list of objects, animating the value of the specified property to a new value.
Creates an animation of the specified property and adds it to a queue, and starts processing the
queue if it's not running already subject to the specified delay.
AnimationSequence
Property Detail
length
property
length:uint [read-only]
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
Returns the number of animations to run. If there are no animations
to run, this will return 0.
Implementation public function get length():uint
onDone
property
onDone:Function
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
The callback function to run when the animation sequence has completed.
Implementation public function get onDone():Function public function set onDone(value:Function):void
onElementDone
property
onElementDone:Function
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
The callback function to run when a animation in the sequence has completed.
Implementation public function get onElementDone():Function public function set onElementDone(value:Function):void
Constructor Detail
AnimationSequence
()
Constructor
public function AnimationSequence()
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
Constructor
Method Detail
addAnimation
()
method
public function addAnimation(target:Object, duration:Number, propertyName:String, propertyValue:*, delay:Number):void
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
Creates an animation of the specified property and adds it to a queue, and starts processing the
queue if it's not running already subject to the specified delay.
Parameters
target:Object — The target object
duration:Number — The time duration of the animation effect in milliseconds
propertyName:String — The name of the property (of the target object) to animate.
propertyValue:* — The desired final value of the property.
delay:Number — The delay (in msec) before starting the animation.