Director MX Basics Tutorial
93
Add markers to two additional scenes
Your first button is complete. To use similar scripts on the remaining navigation buttons, you can
add markers to the start scene as well as the sound and video scene.
1
In the Score, click the marker bar in frame 1, the first frame of the start scene.
A new marker appears.
2
In the text box next to the new marker, type
Start
, and press Enter (Windows) or Return
(Macintosh).
3
Click the marker bar in frame 55, the first frame of the sound and video scene, to create a
new marker.
4
In the text box next to the new marker, type
SoundVideo
, and press Enter (Windows) or
Return (Macintosh). Save your movie.
Write Lingo that refers to scenes
You can write scripts that refer to any of the three scenes by name. You’ll now add a script to the
Go to Sound and Video button in the start scene.
1
In the Score, right-click (Windows) or Control-click (Macintosh) the SoundVideo sprite in
channel 3, frames 1 through 10. In the context menu, select Script.
The Script window opens with the default
on mouseUp
handler.
2
On the second line of the handler, type:
go to frame "SoundVideo"
3
Click the name text box at the top of the window, and type
GoSndVid
, close the Script
window, and save your movie.
4
To test the script, rewind and play your movie, and then click the Go to Sound and
Video button.
The movie jumps to the sound and video scene, and the QuickTime sprite plays.
Содержание 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...