Changing individual tab style in flex
问题 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 at run time? 回答1: Another user pointed out a method