335
This handler determines the label that starts the current scene:
on findLastLabel
aa = label(0)
repeat with i = 1 to (the labelList.line.count - 1)
if aa = label(the labelList.line[i]) then
return the labelList.line[i]
end if
end repeat
end
See also
frameLabel
,
label()
,
marker()
last()
Syntax
the last chunk of (
chunkExpression
)
the last
chunk
in (
chunkExpression
)
Description
Function; identifies the last chunk specified by
chunk
in the chunk expression specified by
chunkExpression
.
Chunk expressions refer to any character, word, item, or line in a container of character.
Supported containers are field cast members, variables that hold strings, and specified characters,
words, items, lines, and ranges within containers.
Examples
This statement identifies the last word of the string “Macromedia, the multimedia company” and
displays the result in the Message window:
put the last word of "Macromedia, the multimedia company"
The result is the word company.
This statement identifies the last character of the string “Macromedia, the multimedia company”
and displays the result in the Message window:
put last char("Macromedia, the multimedia company")
The result is the letter
y
.
See also
char...of, word...of
lastChannel
Syntax
the lastChannel
Description
Movie property; the number of the last channel in the movie, as entered in the Movie Properties
dialog box.
This property can be tested but not set.
To see an example of
lastChannel
used in a completed movie, see the QT and Flash movie in
the Learning/Lingo Examples folder inside the Director application folder.
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...