Skip to content
moorinteractive edited this page Apr 22, 2011 · 1 revision

Navigator

This utility allows to to easily generate page navigations. Each page can be a DisplayObject including a small implementation of the interface IPage. Transitions between pages are executed in an asynchronized wise. Therefor you can implement the interface ITransition in your page or assign a ITransition instance to a page manually. Even default transitions can be set by this utility.

Note: To create html website like navigation, use this utility in combination with our Router.

Dependencies

You can map the dependencies of Navigator by using the static method mapDependencies of Utilities:

Utilities.mapDependencies( commandMap, [ Utilities.NAVIGATOR ]);

After mapping the dependencies, you can inject the following values:

  • INavigator
Clone this wiki locally