MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 398

Director scripting reference
Table of Contents

Advertisement

mesh[index]
Parameters
None.
Example
The following statement displays the number of faces in the model named gbFace:
put member("3D World").model("gbFace").meshDeform.face.count
-- 432
The following statement displays the number of meshes in the model named gbFace:
put member("3D World").model("gbFace").meshDeform.mesh.count
-- 2
The following statement displays the number of faces in the second mesh of the model named
gbFace:
put member("3D World").model("gbFace").meshDeform.mesh[2].face.count
-- 204
See also
mesh
(property),
min
Usage
list.min
min(list)
min (a1, a2, a3...)
Description
Function (Lingo only); specifies the minimum value in a list.
Parameters
a1, a2, a3, ...
Example
The following handler assigns the variable
consists of [#Castle:600, #Shields:750, #Wang:230]. The result is then inserted in the content of
the field cast member Sorry:
on findLowest bids
vLowest = bids.min()
member("Sorry").text = \
"We're sorry, your bid of $" & vLowest && "is not a winner!"
end
See also
max()
398
Chapter 12: Methods
allows access to the properties of the specified mesh.
addModifier
Optional. A list of values from which the lowest value is chosen.
the minimum value in the list bids, which
vLowest

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?

This manual is also suitable for:

Director mx 2004

Table of Contents