This section provides an alphabetical list of all the keywords available in Macromedia Director
MX 2004.
These keywords apply only to Lingo. JavaScript syntax does contain some keywords and
constructs that are similar in function to the following Lingo keywords, but they are not
documented here. For more information about JavaScript syntax keywords and constructs, see
Chapter 2, "Director Scripting Essentials," on page
\ (continuation)
Usage
-- Lingo syntax
first part of a statement on this line \
second part of the statement \
third part of the statement
Description
Continuation symbol; when used as the last character in a line, indicates that the statement
continues on the next line. Lingo then interprets the lines as one continuous statement.
Example
This statement uses the
-- Lingo syntax
if sprite("mySprite").member = member("myMember") then \
_player.alert("The sprite was created from myMember")
case
Usage
-- Lingo syntax
case expression of
expression1: Statement
expression2: Statement(s)
expression3, expression4: Statement
{otherwise: Statement(s)}
end case
character to wrap the statement onto two lines:
\
CHAPTER 11
9.
Keywords
203
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