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.
In the Score, click the marker bar in frame 1, the first frame of the start scene.
1
A new marker appears.
In the text box next to the new marker, type Start, and press Enter (Windows) or Return
2
(Macintosh).
Click the marker bar in frame 55, the first frame of the sound and video scene, to create a
3
new marker.
In the text box next to the new marker, type SoundVideo, and press Enter (Windows) or
4
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.
In the Score, right-click (Windows) or Control-click (Macintosh) the SoundVideo sprite in
1
channel 3, frames 1 through 10. In the context menu, select Script.
The Script window opens with the default
On the second line of the handler, type:
2
go to frame "SoundVideo"
Click the name text box at the top of the window, and type GoSndVid, close the Script
3
window, and save your movie.
To test the script, rewind and play your movie, and then click the Go to Sound and
4
Video button.
The movie jumps to the sound and video scene, and the QuickTime sprite plays.
handler.
on mouseUp
Director MX Basics Tutorial
93
Need help?
Do you have a question about the DIRECTOR MX-USING DIRECTOR MX and is the answer not in the manual?
Questions and answers