Stylemanager.registercolorname() - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

StyleManager.registerColorName()

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
StyleManager.registerColorName(colorName, value)
Parameters
A string indicating the name of the color (for example,
,
,
colorName
"gray"
"darkGrey"
and so on).
A hexadecimal number indicating the color (for example, 0x808080, 0x404040, and
value
so on).
Returns
Nothing.
Description
Method; associates a color name with a hexadecimal value and registers it with the
Style Manager.
Example
The following example registers
as the color name for the color represented by the
"gray"
hexadecimal value 0x808080:
StyleManager.registerColorName("gray", 0x808080);
1172
StyleManager class

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents