Lingo Dictionary > L-N > labelList

 

labelList

Syntax

the labelList

Description

System property; lists the frame labels in the current movie as a Return-delimited string (not a list) containing one label per line. Labels are listed according to their order in the Score. (Because the entries are Return-delimited, the end of the string is an empty line after the last Return. Be sure to remove this empty line if necessary.)

Example

This statement makes a list of frame labels in the content of the field cast member Key Frames:

member("Key Frames").text = the labelList

Example

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(), markerList