Second Physical Communication Laboratory

The simple Tab panel on the Flex3

by admin on 1 月.19, 2009, under FlexSDK3 Programming

The Tab panel example for Flex3 application menubar.

<?xml version="1.0"?>
<!-- containersnavigatorsTNSimple.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:TabNavigator borderStyle="solid" >
<mx:VBox label="Accounts" width="300" height="150">
<!-- Accounts view goes here. -->
</mx:VBox>
<mx:VBox label="Stocks" width="300" height="150">
<!-- Stocks view goes here. -->
</mx:VBox>
<mx:VBox label="Futures" width="300" height="150">
<!-- Futures view goes here. -->
</mx:VBox>
</mx:TabNavigator>
</mx:Application>

The code was written by Adobe Flex documentation. The original code is here.
http://livedocs.adobe.com/flex/3_jp/devguide_flex3.pdf

Flex compile.

[root@hostname ~]# mxmlc myTab.mxml

Open the myTab.swf by web browser.

No comments for this entry yet...

Leave a Reply

You must be logged in to post a comment.