Add One More Script To The Sound And Video Scene; Controlling Digital Video With Script - MACROMEDIA DIRECTOR MX 2004-GETTING STARTED WITH DIRECTOR Getting Started

Hide thumbs Also See for DIRECTOR MX 2004-GETTING STARTED WITH DIRECTOR:
Table of Contents

Advertisement

Make sure that the Cast window and the Score are both open.
1
Display frame 15 of the Score.
2
From the Cast window, drag the GoSndVid script cast member onto the SoundVideo button
3
sprite that appears in frames 15 through 50 of the Score.
The script is now attached to this sprite in the same way it is attached to the SoundVideo
button sprite in scene 1.
To write a new script for the Go to Start button, right-click (Windows) or Control-click
4
(Macintosh) the GoStart button sprite that starts on frame 15 of the Score.
Select Script from the context menu.
5
The Script window opens with the default
On the second line of the handler, type the following:
6
_movie.go("Start")
In the Name text box at the top of the Script window, type GoToStart, and then press Enter
7
(Windows) or Return (Macintosh).
Close the Script window and save your movie.
8
Because this Go to Start button sprite extends all the way into the sound and video scene, you do
not need to do anything else to enable the button in that scene. The last step to enable all the of
navigation buttons is to add the GoAnim script to the Go to Animation button in the sound and
video scene.

Add one more script to the sound and video scene

You already added the navigation script to the Go to Start button in the sound and video scene.
To complete the navigation buttons, you only need to add a script to the Go to Animation
button.
Make sure that the Cast window and the Score are both open.
1
Display frames 55 through 64 of the Score.
2
From the Cast window, drag the GoAnim script onto the Animation button sprite in frames 55
3
through 64 of the Score.
Your movie's navigation functionality is now complete. You can now move among all three
scenes of your movie.
Rewind and play your movie.
4
Use each of the navigation buttons in all three scenes. Verify that each button sends the
5
playhead to the correct scene.

Controlling digital video with script

Although Director movies and digital video movies share some similarities, differences also exist
between the two types of movies. Both Director movies and digital videos comprise a sequence of
frames that display on the screen. Director plays its movies by moving the playhead through the
Score and displaying each frame the playhead comes to. If the computer on which the movie plays
is slow and takes a long time to display each frame, then the Director movie plays slowly. The way
that Director plays movies is called frame-based animation.
72
Chapter 4: Building Your First Basic Movie
handler.
on mouseUp

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-GETTING STARTED WITH DIRECTOR and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Director mx 2004

Table of Contents