MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 979

Director scripting reference
Table of Contents

Advertisement

The global variable
newVal = sliderVal * 100
distance the user drags the slider. If
negative, the text moves down.
Example
This repeat loop makes the field Credits scroll by continuously increasing the value
of
:
scrollTop
--Lingo syntax
on wa
member("Credits").scrollTop = 1
repeat with count = 1 to 150
member("Credits").scrollTop = member("Credits").scrollTop + 1
_movie.updateStage()
end repeat
end
// JavaScript syntax
function wa() {
member("Credits").scrollTop = 1;
for (var count = 1; count <= 150; count++) {
member("Credits").scrollTop = member("Credits").scrollTop + 1;
_movie.updateStage();
}
}
sds (modifier)
Usage
member(whichCastmember).model(whichModel).sds.whichProperty
Description
3D modifier; adds geometric detail to models and synthesizes additional details to smooth out
curves as the model moves closer to the camera. After you have added the
using
addModifier()
The
modifier directly affects the model resource. Be careful when using the
sds
modifiers together, because they perform opposite functions (the
detail and the
lod
recommended that you set the
modifier property to the desired resolution, as follows:
member("myMember").model("myModel").lod.auto = 0
member("myMember").model("myModel").lod.level = 100
member("myMember").model("myModel").addmodifier(#sds)
The
modifier cannot be used with models that already use either the
sds
modifiers.
After you have added the
following properties:
indicates whether subdivision surfaces functionality is enabled (
enabled
(
). The default setting for this property is
FALSE
could measure how far the user drags a slider. The statement
sliderVal
multiplies
sliderVal
, you can set the properties of the
modifier removes geometric detail). Before adding the
lod.auto
modifier to a model resource you can get or set the
sds
to give a value that is greater than the
sliderVal
is positive, the text moves up; if
modifier.
sds
modifier property to
FALSE
.
TRUE
sliderVal
modifier to a model
sds
and
sds
modifier adds geometric
sds
modifier, it is
sds
and set the
lod.level
or
inker
toon
) or disabled
TRUE
sds (modifier)
set
is
lod
979

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx 2004

Table of Contents