-- Lingo syntax spriteObjRef.findLabel(whichLabelName) // JavaScript syntax spriteObjRef.findLabel(whichLabelName);
Function: this function returns the frame number (within the Flash movie) that is associated with the label name requested.
A 0 is returned if the label doesnt exist, or if that portion of the Flash movie has not yet been streamed in.
whichLabelName Required. Specifies the frame label to find.
This returns the frame number (within the Flash movie- in member(1)) that is associated with the label name "GetMe"
-- Lingo syntax
sprite(1).findLabel("GetMe")
// JavaScript syntax
sprite(1).findLabel("GetMe");