error
Usage
member(whichCastmember).model(whichModel).sds.error
Description
3D
modifier property; indicates the percentage of error tolerated by the modifier when
#sds
synthesizing geometric detail in models.
This property works only when the modifier's
and
tension
depth (3D)
the amount of subdivision performed by the modifier.
Example
The following statement sets the
to 0. If the modifier's
setting is
#adaptive
member("Scene").model("Baby").sds.error = 0
See also
sds
(modifier), subdivision,
eventPassMode
Usage
-- Lingo syntax
memberOrSpriteObjRef.eventPassMode
// JavaScript syntax
memberOrSpriteObjRef.eventPassMode;
Description
Flash cast member property and sprite property; controls when a Flash movie passes mouse events
to behaviors that are attached to sprites that lie underneath the flash sprite. The
property can have these values:
•
#passAlways
•
#passButton
•
#passNotButton
•
—Never passes mouse events.
#passNever
This property can be tested and set.
Example
The following frame script checks to see whether the buttons in a Flash movie sprite are currently
enabled, and if so, sets
sets
eventPassMode
•
Mouse events on nonbutton objects alwa.ys pass to sprite scripts.
•
Mouse events on button objects are passed to sprite scripts when the buttons are disabled.
When the buttons are enabled, mouse events on buttons are stopped.
758
Chapter 14: Properties
properties of the modifier combine with the
error
setting is low, its
tension
, this will cause a very pronounced effect on Baby's geometry.
depth
(default)—Always passes mouse events.
—Passes mouse events only when a button in the Flash movie is clicked.
—Passes mouse events only when a nonbutton object is clicked.
eventPassMode
to
. The effect of this script is the following:
#passAlways
property is set to
subdivision
property of the
#sds
setting is high, and its
depth
(3D),
tension
to
; if the buttons are disabled, the script
#passNotButton
#adaptive
property to control
error
modifier of the model named Baby
subdivision
eventPassMode
. The
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