Packagefeathers.motion
Classpublic class Fade
InheritanceFade Inheritance Object

Creates animated effects, like transitions for screen navigators, that animates the `alpha` property of a display object to fade it in or out.

See also

Transitions for Feathers screen navigators: Fade


Public Methods
 MethodDefined By
  
createCrossfadeTransition(duration:Number = 0.5, ease:Object, tweenProperties:Object = null):Function
[static] Creates a transition function for a screen navigator that crossfades the screens.
Fade
  
createFadeInTransition(duration:Number = 0.5, ease:Object, tweenProperties:Object = null):Function
[static] Creates a transition function for a screen navigator that fades in the new screen by animating the `alpha` property from `0.0` to `1.0`, while the old screen remains fully opaque at a lower depth.
Fade
  
createFadeOutTransition(duration:Number = 0.5, ease:Object, tweenProperties:Object = null):Function
[static] Creates a transition function for a screen navigator that fades out the old screen by animating the `alpha` property from `1.0` to `0.0`, while the new screen remains fully opaque at a lower depth.
Fade
Method Detail
createCrossfadeTransition()method
public static function createCrossfadeTransition(duration:Number = 0.5, ease:Object, tweenProperties:Object = null):Function

Creates a transition function for a screen navigator that crossfades the screens. In other words, the old screen fades out, animating the `alpha` property from `1.0` to `0.0`. Simultaneously, the new screen fades in, animating its `alpha` property from `0.0` to `1.0`.

Parameters

duration:Number (default = 0.5)
 
ease:Object (default = NaN)
 
tweenProperties:Object (default = null)

Returns
Function

See also

createFadeInTransition()method 
public static function createFadeInTransition(duration:Number = 0.5, ease:Object, tweenProperties:Object = null):Function

Creates a transition function for a screen navigator that fades in the new screen by animating the `alpha` property from `0.0` to `1.0`, while the old screen remains fully opaque at a lower depth.

Parameters

duration:Number (default = 0.5)
 
ease:Object (default = NaN)
 
tweenProperties:Object (default = null)

Returns
Function

See also

createFadeOutTransition()method 
public static function createFadeOutTransition(duration:Number = 0.5, ease:Object, tweenProperties:Object = null):Function

Creates a transition function for a screen navigator that fades out the old screen by animating the `alpha` property from `1.0` to `0.0`, while the new screen remains fully opaque at a lower depth.

Parameters

duration:Number (default = 0.5)
 
ease:Object (default = NaN)
 
tweenProperties:Object (default = null)

Returns
Function

See also