Hiding a tab in the Flex TabNavigator component
Posted by admin on June 22nd, 2009
After searching for a lot of time, I found out that tab navigator tabs in the Flex TabNavigator component can be hided easily by using the following lines:
var tabIndex:int = 1; customTabNabNavigator.getTabAt(tabIndex).visible = false;//hides the tab customTabNabNavigator.getTabAt(tabIndex).enabled = false; //don't let the user to choose the tab using the keyboard