F > FStyleFormat.background

 

FStyleFormat.background

Availability

Flash Player 6.

Usage

myStyleFormat.background 

Description

Property; the RGB color value for the background portion of a component. For example, in a radio button or check box, the background portion is the space inside the selection area; in a list box or combo box, the background portion is the display area. 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 0xFFE4E1 to the background property for formStyleFormat, producing a pale pink background when the component is enabled.

formStyleFormat.background = 0xFFE4E1;

See also

FStyleFormat.face