User Guide
goLoop() 349
Parameters
frameNameOrNum
Required. A string that specifies the marker label of the frame to which the
playhead branches, or an integer that specifies the number of the frame to which the playhead
branches.
movieName Optional. A string that specifies the movie that contains the frame specified by
frameNameOrNum. This value must specify a movie file; if the movie is in another folder,
movieName must also specify the path.
Example
This statement sends the playhead to the marker named start:
-- Lingo syntax
_movie.go("start")
// JavaScript syntax
_movie.go("start");
This statement sends the playhead to the marker named Memory in the movie named
Noh Tale to Tell:
-- Lingo syntax
_movie.go("Memory", "Noh Tale to Tell")
// JavaScript syntax
_movie.go("Memory", "Noh Tale to Tell");
The following handler tells the movie to loop in the current frame. This handler is useful for
making the movie wait in a frame while it plays so the movie can respond to events.
-- Lingo syntax
on exitFrame
_movie.go(_movie.frame)
end
// JavaScript syntax
function exitFrame() {
_movie.go(_movie.frame);
}
See also
downloadNetThing, goLoop(), Movie
goLoop()
Usage
-- Lingo syntax
_movie.goLoop()
// JavaScript syntax
_movie.goLoop();
Description
Movie method; sends the playhead to the previous marker in the movie, either one marker back
from the current frame if the current frame does not have a marker, or to the current frame if the
current frame has a marker.