772
Chapter 14: Properties
Example
This statement changes the fill offset of the vector shape cast member miette to a horizontal offset
of 33 pixels and a vertical offset of 27 pixels:
-- Lingo syntax
member("miette").fillOffset = point(33, 27)
// JavaScript syntax
member("miette").fillOffset = point(33, 27);
See also
defaultRect
,
fillMode
fillScale
Usage
-- Lingo syntax
memberObjRef
.fillScale
// JavaScript syntax
memberObjRef
.fillScale;
Description
Vector shape cast member property; specifies the amount to scale the fill of the shape. This
property is referred to as “spread” in the vector shape window.
This property is only valid when the
fillMode
property of the shape is set to
#gradient
, but can
be both tested and set.
To see an example of
fillScale
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
fillScale
of member Archie to 33:
-- Lingo syntax
member("Archie").fillScale = 33.00
// JavaScript syntax
member("Archie").fillScale = 33.00;
See also
fillMode
Summary of Contents for DIRECTOR MX 2004
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...