MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 769

Director scripting reference
Table of Contents

Advertisement

fillColor
Usage
-- Lingo syntax
memberObjRef.fillColor
// JavaScript syntax
memberObjRef.fillColor;
Description
Vector shape cast member property; the color of the shape's fill specified as an RGB value.
It's possible to use
, but not if it is set to
#gradient
starting color for the gradient. The ending color is specified with
This property can be tested and set.
To see an example of
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:
-- Lingo syntax
member("Archie").fillColor = color( 24, 15, 153)
// JavaScript syntax
member("Archie").fillColor = color( 24, 15, 153);
See also
endColor,
fillMode
fillCycles
Usage
-- Lingo syntax
memberObjRef.fillCycles
// JavaScript syntax
memberObjRef.fillCycles;
Description
Vector shape cast member property; the number of fill cycles in a gradient vector shape's fill, as
specified by an integer value from 1 to 7.
This property is valid only when the
This property can be tested and set.
To see an example of
Learning/Lingo Examples folder inside the Director application folder.
when the
fillColor
. If the
#none
used in a completed movie, see the Vector Shapes movie in the
fillColor
fillMode
used in a completed movie, see the Vector Shapes movie in the
fillCycles
property of the shape is set to
fillMode
is
fillMode
#gradient
property of the shape is set to
#solid
,
specifies the
fillColor
.
endColor
#gradient
fillCycles
or
.
769

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Director mx 2004

Table of Contents