User Guide

283
Example
This statement sends the playhead to the previous marker in the movie:
go previous
See also
go, go next, go loop
goToFrame
Syntax
sprite(whichFlashSprite).goToFrame(frameNumber)
goToFrame(sprite whichFlashSprite, frameNumber)
sprite(whichFlashSprite).goToFrame(labelNameString)
goToFrame(sprite whichFlashSprite, labelNameString)
Description
Command; plays a Flash movie sprite beginning at the frame identified by the frameNumber
parameter. You can identify the frame by either an integer indicating a frame number or by a
string indicating a label name. Using the
goToFrame command has the same effect as setting a
Flash movie sprite’s
frame property.
Example
The following handler branches to different points within a Flash movie in channel 5. It accepts a
parameter that indicates which frame to go to.
on Navigate whereTo
sprite(5).goToFrame(whereTo)
end
gotoNetMovie
Syntax
gotoNetMovie URL
gotoNetMovie (URL)
Description
Command; retrieves and plays a new Shockwave movie from an HTTP or FTP server. The
current movie continues to run until the new movie is available.
Only URLs are supported as valid parameters. The URL can specify either a filename or a marker
within a movie. Relative URLs work if the movie is on an Internet server, but you must include
the extension with the filename.
When performing testing on a local disk or network, media must be located in a directory
named dswmedia.
If a
gotoNetMovie operation is in progress and you issue a second gotoNetMovie command
before the first is finished, the second command cancels the first.