Create and run a fade in animation effect for the layout.
LayoutEffect
Property Detail
fading
property
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
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 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.