label()

Usage

-- Lingo syntax
_movie.label(stringMarkerName)

// JavaScript syntax
_movie.label(stringMarkerName);

Description

Movie method; indicates the frame associated with a marker label.

The parameter stringMarkerName should be a label in the current movie; if it's not, this method returns 0.

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