View comments | RSS feed

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


Comments


No screen name said on Feb 15, 2005 at 11:00 AM :
var myFrame = _movie.label("M");
causes:
Script Error: TypeError _movie.label is not a function

any advice

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/director/mx2004/release_update_en/07_me201.htm