User Guide
Chapter 15376
Jumping to a URL
Lingo lets you jump to a URL that represents an Internet movie or a web page.
• To jump to an Internet movie, use the gotoNetMovie command.
For example, the statement
gotoNetMovie "http://www.yourserver.com/movies/
movie1.dcr"
retrieves and plays the movie named movie1.dcr. See gotoNetMovie in the
Lingo Dictionary.
• To jump to a web page, use the gotoNetPage command.
For example, the statement
gotoNetPage "http://www.yourserver.com/movies/
intro.html"
displays the web page named intro.html in a browser window. See gotoNetPage
in the Lingo Dictionary.
Looping in a group of frames
Looping within frames lets you create animation that recycles or makes a movie appear to pause.
Such looping is useful for allowing a network operation to complete before the movie proceeds.
Looping a movie by jumping from the current frame back to the first frame in the sequence can
create a recycling animation effect.
• To loop within one segment of the Score, use the go loop statement to return to the first
marker to the left of the frame that contains the go loop statement. If there is no previous
marker, the playhead jumps to frame 1.
• To pause a movie in one frame but keep it playing so the movie can react to events, use the
statement
go to the frame to loop in the current frame.
• To resume playing a movie that is looping in one frame, use the go to the frame + 1
statement.
Jumping away and returning to the original location
You might want a movie to jump to a different frame or a separate movie and then return to the
original frame. For example, at a website that describes the weather, you could jump to a movie
segment that explains a weather term and then return to the original location.
To jump away and return to the original location:
• Use the play and play done commands.
The
play command branches a movie to another frame, another movie, or a specified frame in
another movie. The
play done command remembers the original frame and returns to it without
requiring that you specify where to return.
Use the
play and play done commands in the following situations:
• When the movie you want to play does not have instructions about where to return.
• When you want to play several movies sequentially from a single script. When one movie
finishes, Lingo returns to the script that issued the
play command.
• When you want to put one sequence inside another sequence and easily return to where you
were in the outer sequence.
• When you want to jump to one loop from several different locations.
See
play and play done in the Lingo Dictionary.