How can I have different colors for different tabs in SuperTabNavigator.

Posted by Zeeshan Rang on Stack Overflow See other posts from Stack Overflow or by Zeeshan Rang
Published on 2010-04-02T21:26:13Z Indexed on 2010/04/02 21:33 UTC
Read the original article Hit count: 514

Filed under:
|

Hi

Well the heading is basically what my question is:

How can I have different colors for different tabs in SuperTabNavigator.

Below is the code to my SuperTabNavigator with three tabs:

<containers:SuperTabNavigator x="0"
                     y="10"
                     width="100%"
                     height="100%"
                     right="1"
                     top="1"
                     left="1"
                     bottom="1" color="black"
                     creationPolicy="all"
                     id="tab_nav" popUpButtonPolicy="{SuperTabNavigator.POPUPPOLICY_OFF}">
        <mx:Canvas label="My Friends" id="friends_container" width="100%" height="100%"/>
<mx:Canvas label="My Groups" id="groups_container" width="100%" height="100%"/>
<mx:Canvas label="Address Book" id="address_container" width="100%" height="100%"/>
</containers:SuperTabNavigator>

I want to have different color for every different tab.

How should I do this.

Thank you Zeeshan

© Stack Overflow or respective owner

Related posts about flex

Related posts about actionscript-3