2 Replies Latest reply on Mar 21, 2012 6:51 AM by Himanshu83

    Changing the style of individual tab in tabNavigator

    Himanshu83 Level 1

      I have figured out a way to change the style of tabs at run time with following logic:

      var cssStyle:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".MyTabs");

                                              cssStyle.setStyle("borderColor", "red");



      But here ".MyTabs" class is applicable to all the tabs between first and last tab. As per getStyleDeclaration javadoc, it only accepts "class selector" and "type selector" not the id selector.


      How can I change the individual tab style?