770
Chapter 14: Properties
Example
This statement sets the
fillCycles
of member Archie to 3:
-- Lingo syntax
member("Archie").fillCycles = 3
// JavaScript syntax
member("Archie").fillCycles = 3;
See also
endColor
,
fillColor
,
fillMode
fillDirection
Usage
-- Lingo syntax
memberObjRef
.fillDirection
// JavaScript syntax
memberObjRef
.fillDirection;
Description
Vector shape cast member property; specifies the amount in degrees to rotate the fill of the shape.
This property is only valid when the
fillMode
property of the shape is set to
#gradient
.
This property can be tested and set.
To see an example of
fillDirection
used in a completed movie, see the Vector Shapes movie in
the Learning/Lingo Examples folder inside the Director application folder.
See also
fillMode
filled
Usage
member(
whichCastMember
)
.
filled
the filled of member
whichCastMember
Description
Shape cast member property; indicates whether the specified cast member is filled with a pattern
(
TRUE
) or not (
FALSE
).
Example
The following statements make the shape cast member Target Area a filled shape and assign it the
pattern numbered 1, which is a solid color:
member("Target Area").filled = TRUE
member("Target Area").pattern = 1
See also
fillColor
,
fillMode
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...