GODPAPER | All Packages | All Classes | Index | Frames No Frames |
ScreenFadeTransitionManager

Package | feathers.motion.transitions
Class | public class ScreenFadeTransitionManager
Inheritance | ScreenFadeTransitionManager Object

A transition for `ScreenNavigator` that fades out the old screen and fades in the new screen.

See also

feathers.controls.ScreenNavigator

Public Properties

| Property | Defined By
--- | --- | ---
|  | delay : Number = 0.1 A delay before the transition starts, measured in seconds. | ScreenFadeTransitionManager
|  | duration : Number = 0.25 The duration of the transition, measured in seconds. | ScreenFadeTransitionManager
|  | ease : Object = easeOut The easing function to use. | ScreenFadeTransitionManager
|  | skipNextTransition : Boolean = false Determines if the next transition should be skipped. | ScreenFadeTransitionManager

Protected Properties

| Property | Defined By
--- | --- | ---
|  | navigator : ScreenNavigator The ScreenNavigator being managed. | ScreenFadeTransitionManager

Public Methods

| Method | Defined By
--- | --- | ---
|  | ScreenFadeTransitionManager(navigator:ScreenNavigator) Constructor. | ScreenFadeTransitionManager

Protected Methods

| Method | Defined By
--- | --- | ---
|  | onTransition(oldScreen:DisplayObject, newScreen:DisplayObject, onComplete:Function):void The function passed to the transition property of the ScreenNavigator. | ScreenFadeTransitionManager

Property Detail

delay | property

`public var delay:Number = 0.1`

A delay before the transition starts, measured in seconds. This may be required on low-end systems that will slow down for a short time after heavy texture uploads.

duration | property |

`public var duration:Number = 0.25`

The duration of the transition, measured in seconds.

ease | property |

`public var ease:Object = easeOut`

The easing function to use.

navigator | property |

`protected var navigator:ScreenNavigator`

The `ScreenNavigator` being managed.

skipNextTransition | property |

`public var skipNextTransition:Boolean = false`

Determines if the next transition should be skipped. After the transition, this value returns to `false`.

Constructor Detail

ScreenFadeTransitionManager | () | Constructor

`public function ScreenFadeTransitionManager(navigator:ScreenNavigator)`

Constructor.

Parameters

| `navigator:ScreenNavigator`

Method Detail

onTransition | () | method

`protected function onTransition(oldScreen:DisplayObject, newScreen:DisplayObject, onComplete:Function):void`

The function passed to the `transition` property of the `ScreenNavigator`.

Parameters

| `oldScreen:DisplayObject`
| `newScreen:DisplayObject`
| `onComplete:Function`

Thu Jan 16 2014, 01:11 PM +08:00