User Guide

722 Chapter 6: Components Dictionary
StyleManager.registerColorStyle()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
StyleManager.registerColorStyle(colorStyle)
Parameters
colorStyle
A string indicating the name of the color (for example, "highlightColor",
"shadowColor", "disabledColor", and so on).
Returns
Nothing.
Description
Method; adds a new color style to the Style Manager.
Example
The following example registers "highlightColor" as a color style:
StyleManager.registerColorStyle("highlightColor");
StyleManager.registerInheritingStyle()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
StyleManager.registerInheritingStyle(propertyName)
Parameters
propertyName
A string indicating the name of the style property (for example, "newProp1",
"newProp2", and so on).
Returns
Nothing.
Description
Method; marks this style property as inheriting. Use this method to register style properties that
arent listed in the CSS specification. Do not use this method to change non-inheriting style
properties to inheriting.