I have a tab navigator control and I would like to make all of the tabs a certain color, say blue...
How can this be done?
I have tried through the following CSS:
TabNavigator
{
tabStyleName: "tabs";
}
.tabs {
backgroundColor:#6588b9;
}
but it only seems to work with the selected tab...
I then tried to do it programtically:
for(var i:int=0; i<num_of_tabs; i++)
tn.getTabAt(i).setStyle("backgroundColor","blue");
Yet the same thing happens (only the selected tabs shows the blue background)
What can I do so that all the tabs are blue? Am I going to have to look into skinning?
Thanks.