Packagefeathers.motion
Classpublic class Cover
InheritanceCover Inheritance Object

Product Version : Feathers 2.1.0

Creates animated transitions for screen navigators that slide a new display object into view by animating the x and y properties, while covering an existing display object that remains stationary below. The display object may slide up, right, down, or left.

See also

Transitions for Feathers screen navigators: Cover


Public Methods
 MethodDefined By
  
createCoverDownTransition(duration:Number = 0.5, ease:Object, tweenProperties:Object = null):Function
[static] Creates a transition function for a screen navigator that slides the new screen down into view, animating the y property, to cover up the old screen, which remains stationary.
Cover
  
createCoverLeftTransition(duration:Number = 0.5, ease:Object, tweenProperties:Object = null):Function
[static] Creates a transition function for a screen navigator that slides the new screen into view to the left, animating the x property, to cover up the old screen, which remains stationary.
Cover
  
createCoverRightTransition(duration:Number = 0.5, ease:Object, tweenProperties:Object = null):Function
[static] Creates a transition function for a screen navigator that slides the new screen into view to the right, animating the x property, to cover up the old screen, which remains stationary.
Cover
  
createCoverUpTransition(duration:Number = 0.5, ease:Object, tweenProperties:Object = null):Function
[static] Creates a transition function for a screen navigator that slides the new screen up into view, animating the y property, to cover up the old screen, which remains stationary.
Cover
Method Detail
createCoverDownTransition()method
public static function createCoverDownTransition(duration:Number = 0.5, ease:Object, tweenProperties:Object = null):Function

Creates a transition function for a screen navigator that slides the new screen down into view, animating the y property, to cover up the old screen, which remains stationary.

Parameters

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

Returns
Function

See also

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

Creates a transition function for a screen navigator that slides the new screen into view to the left, animating the x property, to cover up the old screen, which remains stationary.

Parameters

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

Returns
Function

See also

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

Creates a transition function for a screen navigator that slides the new screen into view to the right, animating the x property, to cover up the old screen, which remains stationary.

Parameters

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

Returns
Function

See also

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

Creates a transition function for a screen navigator that slides the new screen up into view, animating the y property, to cover up the old screen, which remains stationary.

Parameters

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

Returns
Function

See also