Director MX Basics Tutorial
99
Import the new sound cast member
This sound file is small; there is no compelling reason not to import the file directly into your
Director file.
1
In the Cast window, select the first empty cast member slot, which should be slot 21, and select
File > Import.
2
In the Import dialog box, navigate to the Sounds folder on the same level as your Director file.
Select the button.wav file in the Sounds folder, and click Add.
3
Select Standard Import from the Import mode menu at the bottom of the dialog box, and
click Import.
The new sound cast member appears in the Cast window in slot 21.
Modify the video control button scripts to play the new sound
You’ll add a play command to each of the scripts that are attached to the video control buttons.
This command plays the new sound cast member in the second sound channel.
1
In the Cast window, select the RewindScript cast member, and click the Cast Member Script
button at the upper right of the window.
2
In the Script window, create a new line after the first line of the handler that contains the
word
me
.
3
On the new line, type the following Lingo:
sound(2).play(member("button"))
The
(2)
specifies the second sound channel.
4
Close the Script window, and save your movie.
5
Repeat steps 1 through 4 for the PlayScript and PauseScript cast members.
Play your completed Director movie
You’ve now completed authoring your Director movie. You can play the movie and move from
scene to scene with the navigation buttons you created. You can control the playback of the
digital video with the bitmap graphic buttons you added. Next, you’ll publish the movie to play
on the web.
Publish your movie for the web
In general, you can publish your movie for the web by simply selecting File > Publish. Using
default Publish settings, Director will create a Macromedia Shockwave version of your movie,
with the Director movie (DCR) extension, in the same directory as your original movie. An
HTML page includes the necessary tags to embed the movie. Your browser window opens, and
your Shockwave movie plays within the browser.
When you use QuickTime video, you must complete a few additional steps to ensure that your
movie plays correctly. These steps involve specifying that a QuickTime Xtra downloads to your
user’s system, if necessary, and placing your files in a specific folder if you’re publishing your
movie on a local computer.
Summary of Contents for DIRECTOR MX-USING DIRECTOR MX
Page 1: ...Using Director MX Macromedia Director MX...
Page 12: ...Contents 12...
Page 156: ...Chapter 4 156...
Page 202: ...Chapter 6 202...
Page 244: ...Chapter 7 244...
Page 292: ...Chapter 10 292...
Page 330: ...Chapter 12 330...
Page 356: ...Chapter 13 356...
Page 372: ...Chapter 14 372...
Page 442: ...Chapter 16 442...
Page 472: ...Chapter 18 472...
Page 520: ...Chapter 19 520...
Page 536: ...Chapter 20 536...
Page 562: ...Chapter 23 562...
Page 566: ...Chapter 24 566...
Page 602: ...Chapter 27 602...