Packagecom.adobe.portfolio.animations
Classpublic class SequentialFade
InheritanceSequentialFade Inheritance Object

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

The SequentialFade class implements a "fade-in" effect for elements in a GroupBase.



Public Properties
 PropertyDefined By
  fading : Boolean
[read-only] Returns true if the fade-in animation sequence is running.
SequentialFade
  onElementDone : Function
The callback function to run when an element of the fade-in sequence has completed.
SequentialFade
Public Methods
 MethodDefined By
  
Constructor
SequentialFade
  
fadeInElements(target:GroupBase, duration:Number, delay:Number, onDone:Function = null):void
Fade in all of the elements of a GroupBase.
SequentialFade
Property Detail
fadingproperty
fading:Boolean  [read-only]

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

Returns true if the fade-in animation sequence is running.


Implementation
    public function get fading():Boolean
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 an element of the fade-in sequence has completed.


Implementation
    public function get onElementDone():Function
    public function set onElementDone(value:Function):void
Constructor Detail
SequentialFade()Constructor
public function SequentialFade()

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

Constructor

Method Detail
fadeInElements()method
public function fadeInElements(target:GroupBase, duration:Number, delay:Number, onDone:Function = null):void

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

Fade in all of the elements of a GroupBase.

Parameters

target:GroupBase — The time duration of the fade (per element) in milliseconds.
 
duration:Number — The time duration in milliseconds of the delay before starting the fade.
 
delay:Number — An optional callback function of the form: callback(target:Object):void, where target is fade in animation target object. The callback function is called when the fade-in completes.
 
onDone:Function (default = null)