Packagecom.adobe.portfolio.effects
Classpublic class AnimationSequence
InheritanceAnimationSequence Inheritance Object

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

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.



Public Properties
 PropertyDefined By
  length : uint
[read-only] Returns the number of animations to run.
AnimationSequence
  onDone : Function
The callback function to run when the animation sequence has completed
AnimationSequence
  onElementDone : Function
The callback function to run when the element animation has completed
AnimationSequence
Public Methods
 MethodDefined By
  
Constructor
AnimationSequence
  
addAnimation(target:Object, duration:Number, propertyName:String, propertyValue:*, delay:Number):void
Runs the specified animation if there are no animations currently playing or waiting to play.
AnimationSequence
Property Detail
lengthproperty
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
onDoneproperty 
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
onElementDoneproperty 
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