Packagefeathers.motion
Classpublic class Cube
InheritanceCube Inheritance Object

Product Version : Feathers 2.1.0

Creates animated transitions for screen navigators that position a display object in 3D space as if it is on a side of a cube, and the cube may rotate up or down around the x-axis, or it may rotate left or right around the y-axis.

Warning: Cube and other transitions with 3D effects may not be compatible with masks.

See also

Transitions for Feathers screen navigators: Cube


Public Methods
 MethodDefined By
  
createCubeDownTransition(duration:Number = 0.5, ease:Object, tweenProperties:Object = null):Function
[static] Creates a transition function for a screen navigator that positions the screens in 3D space as if they are on two adjacent sides of a cube, and the cube rotates down around the y-axis.
Cube
  
createCubeLeftTransition(duration:Number = 0.5, ease:Object, tweenProperties:Object = null):Function
[static] Creates a transition function for a screen navigator that positions the screens in 3D space as if they are on two adjacent sides of a cube, and the cube rotates left around the y-axis.
Cube
  
createCubeRightTransition(duration:Number = 0.5, ease:Object, tweenProperties:Object = null):Function
[static] Creates a transition function for a screen navigator that positions the screens in 3D space as if they are on two adjacent sides of a cube, and the cube rotates right around the y-axis.
Cube
  
createCubeUpTransition(duration:Number = 0.5, ease:Object, tweenProperties:Object = null):Function
[static] Creates a transition function for a screen navigator that positions the screens in 3D space as if they are on two adjacent sides of a cube, and the cube rotates up around the x-axis.
Cube
Method Detail
createCubeDownTransition()method
public static function createCubeDownTransition(duration:Number = 0.5, ease:Object, tweenProperties:Object = null):Function

Creates a transition function for a screen navigator that positions the screens in 3D space as if they are on two adjacent sides of a cube, and the cube rotates down around the y-axis.

Parameters

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

Returns
Function

See also

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

Creates a transition function for a screen navigator that positions the screens in 3D space as if they are on two adjacent sides of a cube, and the cube rotates left around the y-axis.

Parameters

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

Returns
Function

See also

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

Creates a transition function for a screen navigator that positions the screens in 3D space as if they are on two adjacent sides of a cube, and the cube rotates right around the y-axis.

Parameters

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

Returns
Function

See also

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

Creates a transition function for a screen navigator that positions the screens in 3D space as if they are on two adjacent sides of a cube, and the cube rotates up around the x-axis.

Parameters

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

Returns
Function

See also