StyleManager.registerColorStyle()

Availability

Flash Player 6.0.79.

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 StyleManager.

Example

The following example registers "highlightColor" as a color style:

StyleManager.registerColorStyle("highlightColor");