User Guide

last() 379
Parameters
stringMarkerName
Required. A string that specifies the name of the marker label associated with
a frame.
Example
This statement sends the playhead to the tenth frame after the frame labeled Start:
-- Lingo syntax
_movie.go(_movie.label("Start") + 10)
// JavaScript syntax
_movie.go(_movie.label("Start") + 10);
See also
frameLabel, go(), labelList, Movie
last()
Usage
the last chunk of ( chunkExpression )
the last chunk in (chunkExpression)
Description
Function; identifies the last chunk in a chunk expression.
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.
Parameters
chunkExpression
Required. Specifies the chunk expression that contains the last chunk.
Example
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