MACROMEDIA DIRECTOR MX-USING DIRECTOR MX Use Manual page 407

Table of Contents

Advertisement

The word
next
respectively.
The term
the frame
or after the current frame refers to a frame that's a specific number of frames before or after
the current frame. For example,
current frame.
The term
the frameLabel
The
labelList
is separated in the list by a carriage return.
The function
marker()
refers to the marker that's a specific number of markers before or after the current frame. For
example,
marker(-1)
returns the frame number of the second marker after the current frame. If the frame is marked,
returns the frame number of the current frame; if not,
marker(0)
number of the previous marker.
The term
movie
example,
movie "Navigation"
The word
frame
refers to a specific frame in another movie; for example,
refers to frame 15 of the movie called Navigation.
Using symbols
A symbol is a string or other value that begins with the pound (
Symbols are user-defined constants. Comparisons using symbols can usually be performed very
quickly, providing more efficient code.
For example, the statement
userLevel = #novice
runs more quickly than the statement
userLevel = "novice"
Symbols can't contain spaces or punctuation.
Convert a string to a symbol by using the
by using the
string()
x = symbol("novice")
put x
-- #novice
x = string(#novice)
put x
-- "novice"
See
and
# (symbol)
or
refers to the next marker or the marker before the current scene,
previous
followed by a minus or plus sign and the number of frames before
the frame - 20
identifies the label assigned to the current frame.
system property contains a list of all of the markers in the Score. Each marker
, with a positive or negative number of markers used as the parameter,
returns the frame number of the previous marker and
followed by the movie name refers to the beginning of another movie. For
refers to the beginning of the movie called Navigation.
plus a frame identifier, the word
function.
in the Lingo Dictionary.
string()
refers to the frame 20 frames before the
, the word
of
frame 15 of movie "Navigation"
) sign.
#
function. Convert a symbol back to a string
symbol()
marker(2)
gives the frame
marker(0)
, and the movie name
movie
Writing Scripts with Lingo 407

Advertisement

Table of Contents
loading

This manual is also suitable for:

Director mx

Table of Contents