
365
Example
This statement generates a table, in the Message window, of the maximum decimal value that can
be represented by a certain number of binary digits:
on showMaxValues
b = 31
v = the maxInteger
repeat while v > 0
put b && "-" && v
b = b-1
v = v/2
end repeat
end
maxSpeed
Syntax
member(
whichCastmember
).modelResource(
whichModelResource
).\
emitter.maxSpeed
Description
3D property; when used with a model resource whose type is
#particle
, allows you to get and
set the maximum speed at which particles are emitted. Each particle’s initial velocity is randomly
selected between the emitter’s
minSpeed
and
maxSpeed
properties.
The value is a floating-point number and must be greater than 0.0.
Example
In this example, ThermoSystem is a model resource of the type
#particle
. This statement sets
the
maxSpeed
property of ThermoSystem to 15, which causes the fastest particles of
ThermoSystem to move fairly quickly. Within a given particle system, the faster a particle moves,
the farther it will travel.
member("Fires").modelResource("ThermoSystem").emitter.maxSpeed=15
See also
minSpeed
,
emitter
mci
Syntax
mci "
string
"
Description
Command; for Windows only, passes the strings specified by
string
to the Windows Media
Control Interface (MCI) for control of multimedia extensions.
Note:
Microsoft no longer recommends using the 16-bit MCI interface. Consider using third-party Xtra extensions
for this functionality instead.
Example
The following statement makes the command
play cdaudio from 200 to 600 track 7
play
only when the movie plays back in Windows:
mci "play cdaudio from 200 to 600 track 7"
Summary of Contents for DIRECTOR MX-LINGO DICTIONARY
Page 1: ...Lingo Dictionary Macromedia Director MX...
Page 756: ...Index 756...