Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7981135
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T10:16:56+00:00 2026-06-04T10:16:56+00:00

I am new to mobile development with Flex, and there is one basic piece

  • 0

I am new to mobile development with Flex, and there is one basic piece of information with which I cannot find an answer.

My main application extends the <s:TabbedViewNavigatorApplication> class. With other application classes, such as <s:ViewNavigatorApplication>, I can do the following to transition between <s:View> components:

private function nextView(e:MouseEvent):void {
    navigator.pushView(package.component);
}

However, the <s:TabbedViewNavigatorApplication> does not automatically instantiate navigator as do the other base classes.

Could someone please provide a simple example of how to push and pop views from a <s:TabbedViewNavigatorApplication> ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T10:16:57+00:00Added an answer on June 4, 2026 at 10:16 am

    A TabbedViewNavigatorApplication contains one ViewNavigator per tab, like so:

    <?xml version="1.0" encoding="utf-8"?>
    <s:TabbedViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009" 
    xmlns:s="library://ns.adobe.com/flex/spark">
    
    <s:navigators>
        <s:ViewNavigator label="News" firstView="views.NewsView"/>
        <s:ViewNavigator label="Friends" firstView="views.FriendsView"/>
        <s:ViewNavigator label="Events" firstView="views.EventsView"/>
    </s:navigators>
    

    Each ViewNavigator maintains its own navigation stack. The ViewNavigator methods pushView() and popView() act on the currently selected ViewNavigator. These methods add/remove from the selected tab’s stack, not the TabbedViewNavigatorApplication.

    Similarly, the back button navigates within the stack of a single tab. It doesn’t select another tab.

    You can navigate between ViewNavigators(i.e. between tabs) by setting the TabbedViewNavigator.selectedIndex property to the index of the desired ViewNavigator, where 0 is the first section(first tab), 1 is the second, etc. For example:

    TabbedViewNavigator.selectedIndex = 2
    

    selects the third tab (and third ViewNavigator stack).

    You can read more about TabbedViewNavigatorApplication on the Adobe Help pages.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi there Im new to mobile application development. I had developed Android apps using
I'm new mobile development and i'm working on an proof of concept application on
I am new to mobile application development, and I am integrating Google Maps in
I am new to Android mobile application development. I would like to know, how
As a new entry into mobile devices development, I have a question: Can one
I've developed a web application for mobile. As I'm new to mobile web development
I am new in Flex Development, While creating a new Mobile project it asks
I would like to learn Adobe Flex mobile development. I have created a new
We'll soon be embarking on the development of a new mobile application. This particular
I'm new to mobile phones development, but I wonder whether there is any way

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.