Package | com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses |
Class | public class Fade |
Inheritance | Fade TweenEffect Effect |
alphaFrom
and alphaTo
properties, the effect
automatically transitions alpha from 0 to the target's current alpha value on a showEffect trigger, and from the target's current alpha value to 0 on a hideEffect trigger.
If you use the Fade effect with non-embedded text, you must set the treatAsBitmap
parameter to true on the target component.
This class is part of the EffectLibrary sub-effect documentation. It is a dummy class used only to document the supported parameters for a given sub-effect node.
See also
Property | Defined by | ||
---|---|---|---|
alphaFrom : Number
Initial transparency level between 0.0 and 1.0, where 0.0 means transparent and 1.0 means fully opaque.
| Fade | ||
alphaTo : Number
Final transparency level, where 0.0 means transparent and 1.0 means fully opaque.
| Fade | ||
duration : Number
Duration of the effect in milliseconds.
| Effect | ||
easingFunction : Function
The easing function for the animation.
| TweenEffect | ||
repeatCount : Number
Number of times to repeat the effect.
| Effect | ||
repeatDelay : Number
Amount of time, in milliseconds, to wait before repeating the effect.
| Effect | ||
startDelay : Number
Amount of time, in milliseconds, to wait before starting the effect.
| Effect |
Method | Defined by | ||
---|---|---|---|
Fade()
| Fade |
alphaFrom | property |
public var alphaFrom:Number
Initial transparency level between 0.0 and 1.0, where 0.0 means transparent and 1.0 means fully opaque.
If the effect causes the target component to disappear, the default value is the current value of the target's alpha
property. If the effect
causes the target component to appear, the default value is 0.0.
alphaTo | property |
public var alphaTo:Number
Final transparency level, where 0.0 means transparent and 1.0 means fully opaque.
If the effect causes the target component to disappear, the default value is 0.0. If the effect causes the target component to appear, the default value
is the current value of the target's alpha
property.
Fade | () | constructor |
public function Fade()