Chunk expressions refer to any character, word, item, or line in any source of characters. Sources
of characters include field cast members and variables that hold strings.
Example
This statement assigns the first four lines of the variable
member("To Do").text = Action.line[1..4]
This statement inserts the word
to the variable
Notes
put "and" after Notes.line[3].word[2]
See also
char...of, item...of, word...of,
loop (keyword)
Usage
-- Lingo syntax
_movie.goLoop()
Description
Keyword; refers to the marker.
Example
This handler loops the movie between the previous marker and the current frame:
on exitFrame
_movie.goLoop()
end exitFrame
me
Usage
-- Lingo syntax
me
Description
Special variable; used within parent scripts and behaviors to refer to the current object that is an
instance of the parent script or the behavior or a variable that contains the memory address of
the object.
The term has no predefined meaning in Lingo. The term
To see an example of
Lingo Examples folder inside the Director application folder.
Example
The following statement sets the object
accepts the parameter script Bird and is used to return that parameter.
myBird1 = new script("Bird")
This is the
on new
212
Chapter 11: Keywords
after the second word of the third line of the string assigned
and
:
used in a completed movie, see the Parent Scripts movie in the Learning/
me
myBird1
handler of the Bird script:
Action
number of members
is used by convention.
me
to the script named Bird. The
to the field cast member To Do:
keyword
me
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