Example
This statement sets the
a list of integer values:
member("3D").modelResource("Player").face[5].normals = [2,32,14]
See also
face, normalList,
number (Cast)
Usage
-- Lingo syntax
castObjRef.number
// JavaScript syntax
castObjRef.number;
Description
Cast library property; returns the number of a specified cast library. Read-only.
Example
This repeat loop uses the Message window to display the number of cast members that are in each
of the movie's casts:
-- Lingo syntax
repeat with n = 1 to _movie.castLib.count
put(castLib(n).name && "contains" && castLib(n).member.count \
&& "cast members.")
end repeat
// JavaScript syntax
for (var n=1; n<=_movie.castLib.count; n++) {
put(castLib(n).name + " contains " + castLib(n).member.count
+ " cast members.")
}
See also
Cast Library
number (characters)
Usage
the number of chars in chunkExpression
Description
Chunk expression; returns a count of the characters in a chunk expression.
Chunk expressions are any character (including spaces and control characters such as tabs and
carriage returns), word, item, or line in any container of characters. Containers include field cast
members and variables that hold strings, and specified characters, words, items, lines, and ranges
in containers.
Note: The
count()
characters in a chunk expression.
property of the fifth face of the model resource named Player to
normals
vertices
function provides a more efficient alternative for determining the number of
number (characters)
893
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