F > FStyleFormat.backgroundDisabled

 

FStyleFormat.backgroundDisabled

Availability

Flash Player 6.

Usage

myStyleFormat.backgroundDisabled

Description

Property; the RGB color value for the background portion of a disabled component. The background color of disabled user interface elements is usually light gray. 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 0x808080 to the backgroundDisabled property for formStyleFormat, producing a gray background when the component is disabled.

formStyleFormat.backgroundDisabled = 0x808080;

See also

FStyleFormat.foregroundDisabled