Packagecom.adobe.portfolio.animations
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 a animation in the sequence has completed.
AnimationSequence
Public Methods
 MethodDefined By
  
Constructor
AnimationSequence
  
addAnimation(target:Object, duration:Number, propertyName:String, propertyValue:*, delay:Number):void
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
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 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.