mx.styles.StyleManager
The class that manages: -which CSS style properties are inheriting -which style properties are colors and therefore get special handling -a list of strings that are aliases for color values
static inheritingStyles:Objectstatic colorStyles:Objectstatic colorNames:Objectstatic TextFormatStyleProps:Objectstatic TextStyleMap:Objectstatic function registerInheritingStyle(styleName:String):Void
- Parameters
styleNamethe style name
static function isInheritingStyle(styleName:String):Boolean
- Parameters
styleNamethe style name - Return
- Boolean
static function registerColorStyle(styleName:String):Void
- Parameters
styleNamethe style name
static function isColorStyle(styleName:String):Boolean
- Parameters
styleNamethe style name - Return
- Boolean
static function registerColorName(colorName:String, colorValue:Number):Void
- Parameters
colorNamethe style name (e.g. "blue") colorValuethe color value (e.g. 0x0000FF)