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.
Содержание 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...