EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 1020

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...
1020 Chapter 14: Properties
streamSize (3D)
Usage
member(whichCastmember).streamSize
Description
3D property; allows you to get the size of the data stream to be downloaded, from 0 to
maxInteger. This command refers to the initial file import or the last
loadFile() requested.
Example
This statement shows that the last file load associated with the cast member Scene has a total size
of 325300 bytes:
put member("Scene").streamSize
-- 325300
See also
bytesStreamed (3D), percentStreamed (3D), state (3D), preLoad (3D)
strokeColor
Usage
-- Lingo syntax
memberObjRef.strokeColor
// JavaScript syntax
memberObjRef.strokeColor;
Description
Vector shape cast member property; indicates the color in RGB of the shape’s framing stroke.
To see an example of
strokeColor used in a completed movie, see the Vector Shapes movie in
the Learning/Lingo Examples folder inside the Director application folder.
Example
This sets the strokeColor of cast member "line" to red:
-- Lingo syntax
member("line").strokeColor = color(255, 0, 0)
// JavaScript syntax
member("line").strokeColor = color(255, 0, 0);
See also
color(), fillColor, endColor, backgroundColor