F > FStyleFormat.textColor

 

FStyleFormat.textColor

Availability

Flash Player 6.

Usage

myStyleFormat.textColor 

Description

Property; the RGB color value for the default text color in all components assigned to the style format. The color value must be in the format 0xRRGGBB.

You must use FStyleFormat.applyChanges when updating properties with a new value.

Example

The following code assigns a value of 0x000000 to the textColor property in formStyleFormat, producing black text.

formStyleFormat.textColor = 0x000000;

See also

FStyleFormat.textDisabled, FStyleFormat.textSelected