219
This handler deletes cast members start through finish:
on deleteMember start, finish
repeat with i = start to finish
member(i).erase()
end repeat
end on deleteMember
See also
new()
error
Syntax
member(
whichCastmember
).model(
whichModel
).sds.error
Description
3D
#sds
modifier property; indicates the percentage of error tolerated by the modifier when
synthesizing geometric detail in models.
This property works only when the modifier’s
subdivision
property is set to
#adaptive
. The
tension
and
depth (3D)
properties of the modifier combine with the
error
property to control
the amount of subdivision performed by the modifier.
Example
The following statement sets the
error
property of the
#sds
modifier of the model named Baby
to 0. If the modifier’s
tension
setting is low, its
depth
setting is high, and its
subdivision
setting is
#adaptive
, this will cause a very pronounced effect on Baby’s geometry.
member("Scene").model("Baby").sds.error = 0
See also
sds (modifier)
,
subdivision
,
depth (3D)
,
tension
on EvalScript
Syntax
on EvalScript
aParam
statement(s)
end
Description
System message and event handler; in a Shockwave movie, contains statements that run when the
handler receives an
EvalScript
message from a browser. The parameter is a string passed in from
the browser.
•
The
EvalScript
message can include a string that Director can interpret as a Lingo statement.
Lingo cannot accept nested strings. If the handler you are calling expects a string as a
parameter, pass the parameter as a symbol.
•
The
on EvalScript
handler is called by the
EvalScript()
scripting method from JavaScript
or VBScript in a browser.
The Director player for Java doesn’t support the
on EvalScript
handler. To
enable communication between an applet and a browser, use Java, JavaScript, or VBScript.
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...