Lingo Dictionary > D-F > fillColor

 

fillColor

Syntax

member(whichCastMember).fillColor

Description

Vector shape cast member property; the color of the shape's fill specified as an RGB value.

It's possible to use fillColor when the fillMode property of the shape is set to #solid or #gradient, but not if it is set to #none. If the fillMode is #gradient, fillColor specifies the starting color for the gradient. The ending color is specified with endColor.

This property can be tested and set.

To see an example of fillColor used in a completed movie, see the Vector Shapes movie in the Learning\Lingo Examples folder inside the Director application folder.

Example

This statement sets the fill color of the member Archie to a new RGB value.

member("Archie").fillColor = rgb( 24, 15, 153)

See also

endColor, fillMode