title: Switch between Flex Tabbed ViewNavigators
body: <p>I am working on a Flex <code>TabbedViewNavigatorApplication</code> with three tabs (ViewNavigator elements). I would like to switch from one ViewNavigator to another based upon a user action (via ActionScript code).</p>
  
  <p>I know that switching between Views uses <code>pushView</code> and <code>popView</code>, but I'm working with ViewNavigators, and my searching revealed nothing useful.</p>
  
  <p>I'm trying to switch from Tab2 to Tab1 when an event occurs. In this case, Tab2 contains a list, and when the user makes a selection, I want to jump back to Tab1.</p>
  
  <pre><code>&lt;s:TabbedViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009" 
                                    xmlns:s="library://ns.adobe.com/flex/spark"
                                    creationComplete="onAppReady(event)"&gt;
      &lt;s:ViewNavigator label="Tab1" width="100%" height="100%" firstView="views.TabOneView"/&gt;
      &lt;s:ViewNavigator label="Tab2" width="100%" height="100%" firstView="views.TabTwoView"/&gt;
      &lt;s:ViewNavigator label="Tab3" width="100%" height="100%" firstView="views.TabThreeView"/&gt;
  &lt;/s:TabbedViewNavigatorApplication&gt;
  </code></pre>
  
  <p>Thanks for your help!</p>