EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 770

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING
1130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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