Packagecom.adobe.portfolio.effects
Classpublic class LayoutEffect
InheritanceLayoutEffect Inheritance Object

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

The LayoutEffect class implements a "fade-in" effect for elements in a Layout.



Public Properties
 PropertyDefined By
  fading : Boolean
[read-only] Whether there are any fade in animations to run.
LayoutEffect
  onElementDone : Function
The callback function to run when the animation has completed
LayoutEffect
Public Methods
 MethodDefined By
  
LayoutEffect(layout:LayoutBase)
Constructor
LayoutEffect
  
fadeInLayoutElements(duration:Number, delay:Number, onDone:Function = null):void
Create and run a fade in animation effect for the layout.
LayoutEffect
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

Whether there are any fade in animations to run.


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 the animation has completed


Implementation
    public function get onElementDone():Function
    public function set onElementDone(value:Function):void
Constructor Detail
LayoutEffect()Constructor
public function LayoutEffect(layout:LayoutBase)

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

Constructor

Parameters
layout:LayoutBase
Method Detail
fadeInLayoutElements()method
public function fadeInLayoutElements(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

Create and run a fade in animation effect for the layout. The animation will be part of an animation sequence for fade in animations.

Parameters

duration:Number — The time duration of the animation effect in milliseconds
 
delay:Number — the time duration in milliseconds of the delay before starting the animation effect
 
onDone:Function (default = null) — a 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 effect completes.