MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 349

Director scripting reference
Table of Contents

Advertisement

Parameters
frameNameOrNum
playhead branches, or an integer that specifies the number of the frame to which the playhead
branches.
Optional. A string that specifies the movie that contains the frame specified by
movieName
frameNameOrNum
must also specify the path.
movieName
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(),
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.
Required. A string that specifies the marker label of the frame to which the
. This value must specify a movie file; if the movie is in another folder,
Movie
goLoop()
349

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?

This manual is also suitable for:

Director mx 2004

Table of Contents