Runs the specified animation if there are no animations currently
playing or waiting to play.
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 the element animation 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
Runs the specified animation if there are no animations currently
playing or waiting to play. If animations are currently playing or
waiting to play, it queues up the animation to play.
Parameters
target:Object — The target object
duration:Number — The time duration of the animation effect in milliseconds
propertyName:String — the name of the property to animate
propertyValue:*
delay:Number — the time duration in milliseconds of the delay before starting the animation effect