Flash MX 2004.
fill.color
Property; the color of the fill, in one of the following formats:
-
A string in the format "#RRGGBB" or "#RRGGBBAA"
-
A hexadecimal number in the format 0xRRGGBB
-
An integer that represents the decimal equivalent of a hexadecimal number
The following example sets the fill color of the current selection:
var fill = fl.getDocumentDOM().getCustomFill();
fill.color = "#FFFFFF";
fl.getDocumentDOM().setCustomFill( fill );