350
Chapter 12: Methods
If no markers are to the left of the playhead, the playhead branches to:
•
The next marker to the right if the current frame does not have a marker.
•
The current frame if the current frame has a marker.
•
Frame 1 if the movie contains no markers.
Parameters
None.
Example
This statement causes the movie to loop between the current frame and the previous marker:
-- Lingo syntax
_movie.goLoop()
// JavaScript syntax
_movie.goLoop();
See also
go()
,
goNext()
,
goPrevious()
,
Movie
goNext()
Usage
-- Lingo syntax
_movie.goNext()
// JavaScript syntax
_movie.goNext();
Description
Movie method; sends the playhead to the next marker in the movie.
If no markers are to the right of the playhead, the playhead goes to the last marker in the movie or
to frame 1 if there are no markers in the movie.
Parameters
None.
Example
This statement sends the playhead to the next marker in the movie:
-- Lingo syntax
_movie.goNext()
// JavaScript syntax
_movie.goNext();
See also
go()
,
goLoop()
,
goPrevious()
,
Movie
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...