Packagecom.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses
Classpublic class Fade
InheritanceFade Inheritance TweenEffect Inheritance Effect

[Dummy Class Only!] The Fade effect animates the alpha property of a component, either from transparent to opaque, or from opaque to transparent. If you specify the Fade effect for the showEffect or hideEffect trigger, and if you omit values for the 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

com.dwuser.ss4.managers.EffectLibrary


Public Properties
 PropertyDefined 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
 Inheritedduration : Number
Duration of the effect in milliseconds.
Effect
 InheritedeasingFunction : Function
The easing function for the animation.
TweenEffect
 InheritedrepeatCount : Number
Number of times to repeat the effect.
Effect
 InheritedrepeatDelay : Number
Amount of time, in milliseconds, to wait before repeating the effect.
Effect
 InheritedstartDelay : Number
Amount of time, in milliseconds, to wait before starting the effect.
Effect
Public Methods
 MethodDefined by
  
Fade()
Fade
Property detail
alphaFromproperty
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.

alphaToproperty 
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.

Constructor detail
Fade()constructor
public function Fade()