626
Example
This statement displays the starting frame of the sprite in channel 5 in the Message window:
put sprite(5).startFrame
See also
endFrame()
on startMovie
Syntax
on startMovie
statement(s)
end
Description
System message and event handler; contains statements that run just before the playhead enters
the first frame of the movie. The
startMovie
event occurs after the
prepareFrame
event and before
the
enterFrame
event.
An
on startMovie
handler is a good place to put Lingo that initializes sprites in the first frame of
the movie.
Example
This handler makes sprites invisible when the movie starts:
on startMovie
repeat with counter = 10 to 50
sprite(counter).visible = 0
end repeat
end startMovie
See also
on prepareMovie
starts
Syntax
string1
starts
string2
Description
Operator; compares to determines whether
string1
starts with
string2
(
TRUE
or 1) or not (
FALSE
or
0).
The string comparison is not sensitive to case or diacritical marks; a and Å are considered to be
the same.
This is a comparison operator with a precedence level of 1.
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...