EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 671

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...
brightness 671
Example
This statement makes the drop shadow of field cast member Title 10 pixels wide.
--Lingo syntax
member("Title").boxDropShadow = 10
// JavaScript syntax
member("Title").boxDropShadow = 10;
boxType
Usage
-- Lingo syntax
memberObjRef.boxType
// JavaScript syntax
memberObjRef.boxType;
Description
Cast member property; determines the type of text box used for the specified cast member. The
possible values are
#adjust, #scroll, #fixed, and #limit.
Example
This statement makes the box for field cast member Editorial a scrolling field.
--Lingo syntax
member("Editorial").boxType = #scroll
// JavaScript syntax
member("Editorial").boxType = symbol("scroll");
brightness
Usage
member(whichCastmember).shader(whichShader).brightness
member(whichCastmember).model(whichModel).shader.brightness
member(whichCastmember).model(whichModel).shaderList{[index]}.\
brightness
Description
3D #newsprint and #engraver shader property; indicates the amount of white blended into
the shader.
The range of this property is 1 to 100; the default value is 0.
Example
This statement sets the brightness of the shader used by the model named gbCyl2 to half of its
maximum value.
member("scene").model("gbCyl2").shader.brightness = 50
See also
newShader