F > FStyleFormat.face |
![]() ![]() ![]() |
FStyleFormat.face
Availability
Flash Player 6.
Usage
myStyleFormat
.face
Description
Property; the RGB color value for the main color of a componentfor example, the gray used for the PushButton or ScrollBar component. 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 0x32CD32
to the face
property for formStyleFormat
, producing lime-green push buttons and scroll bars.
formStyleFormat
.face = 0x32CD32;
![]() ![]() ![]() |