Latest Tutorials| Questions and Answers|Ask Questions?|Site Map

Home Flex Flex Tab Navigator example

Related Tutorials


Share on Google+Share on Google+

Flex Tab Navigator example

Tab Navigators are containers in flex. In the following code, three tabs have been created using VBox containers. In the example wipe effect is also demonstrated.

Flex Tab Navigator example


Under mx.containers package TabNavigator class is present and under this class TabNavigator container is present.
Tab Navigators are Navigator containers of flex. In the following code, three tabs have been created using flex Layout container VBox. In the example wipe effect behavior is also demonstrated. 









<?xml version = '1.0' encoding = 'utf-8'?>
<mx:Application xmlns:mx = ''>
  <mx:WipeLeft id = 'wipe_left'/>
  <mx:Panel title = 'Tab Navigators' width = '100%
eight = '100%'>
  <mx:TabNavigator width = '100%' height = '100%'>
  <mx:VBox label = 'Panel 1' showEffect = '{wipe_left}'>
  <mx:Text text = 'You switched Panel1 Tab '
color = '#996600'/>
  <mx:VBox label = 'Panel 2' showEffect = '{wipe_left}'>
  <mx:Text text = 'You switched Panel2 Tab
olor = '#FF9900'/>
  <mx:VBox label = 'Panel 3' showEffect = '{wipe_left}'>
  <mx:Text text = 'You switched Panel3 Tab
olor = '#9966CC'/>



Download the code


If you enjoyed this post then why not add us on Google+? Add us to your Circles

Liked it!  Share this Tutorial

Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: September 8, 2008

Related Tutorials

Discuss: Flex Tab Navigator example  

Post your Comment

Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image