Chapter 15
376
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.
Содержание DIRECTOR MX-USING DIRECTOR MX
Страница 1: ...Using Director MX Macromedia Director MX...
Страница 12: ...Contents 12...
Страница 156: ...Chapter 4 156...
Страница 202: ...Chapter 6 202...
Страница 244: ...Chapter 7 244...
Страница 292: ...Chapter 10 292...
Страница 330: ...Chapter 12 330...
Страница 356: ...Chapter 13 356...
Страница 372: ...Chapter 14 372...
Страница 442: ...Chapter 16 442...
Страница 472: ...Chapter 18 472...
Страница 520: ...Chapter 19 520...
Страница 536: ...Chapter 20 536...
Страница 562: ...Chapter 23 562...
Страница 566: ...Chapter 24 566...
Страница 602: ...Chapter 27 602...