This section provides an alphabetical list of all the constants available in Macromedia Director
MX 2004.
The majority of these constants apply only to Lingo. JavaScript syntax does contain some
constants that are similar to the Lingo constants listed here; therefore, where appropriate,
JavaScript syntax usage and examples are provided to help you map the functionality of Lingo
constants with their closest counterparts in JavaScript syntax. For more information about
JavaScript syntax constants, see one of the many third-party resources on the subject.
" (string)
Usage
--Lingo syntax
"
// JavaScript syntax
"
Description
String constant; when used before and after a string, quotation marks indicate that the string is a
literal—not a variable, numerical value, or script element. Quotation marks must always
surround literal names of cast members, casts, windows, and external files.
Example
This statement uses quotation marks to indicate that the string "San Francisco" is a literal string,
the name of a cast member:
--Lingo syntax
put member("San Francisco").loaded
// JavaScript syntax
put(member("San Francisco").loaded);
See also
QUOTE
CHAPTER 9
Constants
151
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