When Flex does a view-based mobile app, in the view, you can call the view to manage it directly through navigator, but sometimes we might want to jump to a view in a custom control or a method that doesn't exist in view. If you are creating a base based on
Viewnavigatorapplication application, you can also easily access the View navigator via FlexGlobals.topLevelApplication.navigator to jump, for example
<s:button label= "click" click= "FlexGlobals.topLevelApplication.navigator.pushView (Helloworldview);"/>
That's because viewnavigatorapplication has the Navigator attribute, but if you're using the Tabbedviewnavigatorapplication class to create the app, Trouble comes, Tabbedviewnavigatorapplication does not have the Navigator attribute, So you call FlexGlobals.topLevelApplication.navigator will return an empty object error, even so, we can still implement one, ...
= = Click on the original to see the full content: http://www.chenlinsheng.com/?p=1451
Flex Mobile Development: How to call the View Navigator globally (navigator)