MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 989

Director scripting reference
Table of Contents

Advertisement

shadowStrength
Usage
member(whichCastmember).model(whichModel).toon.shadowStrength
member(whichCastmember).model(whichModel).shader.shadowStrength
member(whichCastmember).shader(whichShader).shadowStrength
Description
3D
modifier and
toon
model's surface where light does not create highlights.
The default value of this property is 1.0.
Example
The following statement sets the
named Sphere to 0.1. The area of the model's surface that is not highlighted will be very dark.
member("Shapes").model("Sphere").toon.shadowStrength = 0.1
shapeType
Usage
member(whichCastMember).shapeType
the shapeType of member whichCastMember
Description
Shape cast member property; indicates the specified shape's type. Possible types are
,
#roundRect
#oval
after creating the shape cast member using Lingo.
Example
These statements create a new shape cast member numbered 100 and then define it as an oval:
new(#shape, member 100)
member(100).shapeType = #oval
shiftDown
Syntax
-- Lingo syntax
_key.shiftDown
// JavaScript syntax
_key.shiftDown;
Description
Key property; indicates whether the user is pressing the Shift key. Read-only.
This property returns
This property must be tested in conjunction with another key.
shader property; indicates the brightness of the area of the
#painter
shadowStrength
, and
. You can use this property to specify a shape cast member's type
#line
if the user is pressing the Shift key; otherwise, it returns
TRUE
property of the
modifier for the model
toon
,
#rect
.
FALSE
shiftDown
989

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Director mx 2004

Table of Contents