Bab 7
TRANSITION, SOUND, AND
DIGITAL VIDEO
An animation will certainly feels a bit barren if not accompanied by
background noises that supports animation. For example, we make
animated man who was crying, would be more alive if
plus the sound of people crying. So also with the change from slide
one to the other slide. To be more subtle and interesting can be added
with transition effects. In addition, the Director we can also
importing video files in formats most widely used,
such as Quicktime and AVI.
In this chapter will discuss the transition effects and its use,
Implementation of sound in the movie as well as how to import video files,
play it on stage and set the video files can be
played entirely in accordance with a predetermined frame.
7.1. transition
In Director there are 52 transition effects and a transition we can
create a short animation which is played in between frames to
produce subtle changes when the sprite move, appear, or
to disappear.
7.1.1. adding Transitions
Transition has its own channel which lies on the Effect
Channel on the score (Figure 7.1). Transitions always occur after the end
The first frame sprites and sprite frame before the beginning of the second place
transition is placed.
Figure 7.1. channel Transition
To add a transition to the movie follow these steps:
1. In the transition channel, select the first frame of the sprite both places
we want to effect that transition occurs.
2. Choose Modify> Frame> Transition, or double-click on the frame
channel transition, will appear Frame Properties dialog box:
Transition. See Figure 7.2.
Figure 7.2. Frame Properties: Transition
Caption:
• Categories: contains classification effects in the transition to
categories that facilitate the search.
• Transitions: a list of all the transition effects of Director.
• Duration: the duration of the duration of the effect it will be played, the average default
transition is 2 seconds, you can change it by setting
the slider. See Figure 7.3.
Figure 7.3. Slider on the Transition Effect
• Smoothness: smoothness of transition effects is played. the more the
slider left, the effect will be more smooth transition, as well
on the contrary.
• Affects: do not all have the effect of this option, used for
determine the effect of induced transitions, there are two options.
- Entire Stage: transition effects that apply to the entire stage.
- Changing Areas Only: transition effect only applies to the area
we put the transition effects.
3. In the Frame Properties dialog box transition, select the Category
as desired.
4. Determine the Duration, Smoothness and Affect, if necessary.
5. Click OK, the Director will display the same number of cast members
with a number of existing transition cast member on the cast window.
Example 59: Giving the transition effects.
Give the file Transisi.Dir transition occurs so that each exchange
there is a picture transition effects.
Answer:
Follow these steps work as follows:
1. Open the file Transisi_Mulai.Dir, and save it back to the
Transisi.Dir name.
2. On the score had been there three sprites with a length of each
10 frames. Now, activate the cast window, click on the cast members
slot to-4.
3. Enable channel effect by clicking Hide / Show Effects
Channel.
4. Double-click on frame 10, will appear the parameters for the frame
Properties: Transition.
5. We will give effect to the transition, by clicking on a category
Wipe, then select Center Out, Horizontal, click OK.
6. Play the movie, the playback head will stay on frame 10
for 2 seconds and then resumed the next frame, but
there are no transition effects. Why? (See the discussion of 7.1.1.)
7. Now, click on the transition effects and then while pressing the
mouse button drag it to frame 11 (Figure 7.4).
8. Play the movie again, then we will see a change of
The first image to second image.
9. Give also the effects Other> Random Columns frame to-21,
that there is a change from the second image transition effects to images
the third.
10. Play the movie, and save it back.
Figure 7.4. Provision of transition effects
7.1.2. Tip Using the Transition
Here are some tips to remember when using transitions.
• To play a sound when the transition occurs, place a sound
on the frame before the transition.
• If the exported movie contains a transition as digital video or
PICS image file, the transition may not be included.
• The transition that occurs in sound or video is being done
decompression, may require more computer resources
greater than those available on systems with lower specifications,
try to make that transition duration can be shorter and avoid
complex transitions such as dissolve, making the movie with
low specification will ensure our movie can be played in
all computers with a different resource.
• Avoid looping on frames that contain transitional, plays
continuous transition can be damaging on performance.
7.2. Sound
We can provide sound in the movie that we make. Such transitions,
sound put on a special channel, namely Sound Channel, the
Director, there are two sound channels (Figure 7.5). However, the actual
total number of sound channels is eight, which again only six
can be controlled using behaviors or Lingo. Sound file formats
Director is supported by MP3, AIFF and WAV.
Figure 7.5. Sound Channel
7.2.1. importing Sound
In the Director, sound imported using two ways, namely internal
(standard) and links, see Figure 7.6. Each has
advantages and its use depends on the case.
• Standard: sound file will be imported as an internal cast member.
Director will save data to a movie or sound files cast, and
put it into RAM completely before the sound is played.
This method is very suitable for small-sized sound files, excess
This is how sound files will be played directly so cast
Sound member is inserted into the memory. the drawback is
movie file size larger and use of sound files
sized too large will spend a lot of usage
the memory.
• Link To External File: the file will be imported as an external sound
cast member. Director only stores the relative address
reference to the location of the sound file. Thus, each
times the sound file is played, the Director will import sound data
based on the relative address, so we have to include
The sound file when we distribute our movie.
The advantage is a more efficient memory usage,
especially for computers that have a resourse RAM
small, and movie files can remain small. The drawback
is therefore only as a link, it takes time to
import sound data each time a sound is played so
no delay (delay) time. Magnitude of this delay is also dependent
on a computer resource that is used to play
movie, usually in the size of milliseconds. If we forget
include a sound file, the sound will not be able to
is played.
Figure 7.6. Import dialog box
Example 60: Importing sound standard methods.
Import Crowd laught sound and a kick to the file Animasi_Bola2.Dir
we have made in Chapters 4 and save it back with the name
Animasi_Bola2_Sound.Dir using standard methods.
Answer:
Follow the steps below workmanship.
1. Open the file again Animasi_Bola2.Dir in Chapter 4, and then click File>
Save As Animasi_Bola2_Sound.Dir.
2. Click on the Import icon, and open the folder on the CD accompanying Sound.
3. Highlight the file and Kick.Wav Laught.mp3 Crowd, see Figure 7.7.
4. Because of this sound file is small, then we will
using internal methods. On the Media column, make sure that
Standard Import is selected.
5. Save the movie again.
Figure 7.7. Import dialog box.
7.2.2. Inserting Sound to Score
As with video, sound only cast member to be played,
all frames that have been set for the sound sprite.
Furthermore, in the example Animasi_Bola2_ Sound.Dir, we
will make a sound every time the ball on the floor, and on the
last sound of people laughing, along with the release of the text.
155
Example 61: Inserting sound into the sound channel.
Modified sample 60 by inserting a sound kick to the sound channel
1 frame 55,80,105,138 and 157, enter also into the frame sound Crowd
158-245.
Answer:
Follow the steps below workmanship:
1. Make sure the movie Animasi_Bola2_Sound.Dir, still in a state
is open.
2. We will make the kick sound a 6 frame, for each time
ball on the floor. For that, drag the kick to the sound cast member
channel 1, the frame 20-24. See Figure 7.8.
Figure 7.8. Incorporate sound into the sound channel
3. Next, we will double this sprite. Still on the sound
channel 1, click on the frame 20-24, click Ctrl + C, right-click on
frame 55, and then click Paste.
4. Repeat for each time the ball hits the floor, ie on frame 80,
105, 138 and 157.
5. Drag the sound cast members crowd into channel 2, frame 158.
6. In the Property inspector to change, End Frame to 245.
7. Play the movie, every time the ball hits the floor will be heard
sound boom, and at the end there is the sound of people laughing together
discharge of the text, save this movie again.
Example 62: Importing sound method link.
Import Crowd laught sound and a kick to the file Animasi_Bola2.Dir
we have made in Chapters 4 and save it back with the name
Animasi_Bola2_Sound_Link.Dir, using the link to
external file.
Answer:
Follow the steps below workmanship:
1. Open the file again Animasi_Bola2.Dir in Chapter 4, and then click File>
Save As Animasi_Bola2_Sound_Link.Dir.
2. Click on the Import icon, and open the folder on the CD accompanying Sound.
3. Highlight the file and Kick.Wav Laught.mp3 Crowd.
4. On the Media column, make sure selected is Link to External
The file.
5. Save the movie again.
Example 63: Inserting sound into the sound channel.
Modified Example 62 by inserting a sound kick to the sound channel
1 frame 55,80,105,138 and 157, enter also into the frame sound Crowd
158-245.
Answer:
Follow the steps below workmanship:
1. Make sure the movie Animasi_Bola2_Sound_Link.Dir, still in
open state.
2. Drag the sound cast member kicks into channel 1, the frame 20-24.
3. Next, we will double, this sprite, still in sound
channel 1, click on the frame 20-24, then click Ctrl + C, and then click
Right on frame 55, and then click paste.
4. Repeat for frames 80, 105, 138 and 157.
5. Drag the sound cast members crowd into channel 2, frame 158.
6. In the Property inspector to change, End Frame to 245.
7. Play the movie, we can conclude that the way to enter
sound that is imported by default and is the same link.
7.2.3. Sound Properties
To view the properties of sound, follow these steps:
1. Click on the cast in the cast kick the window or kick in the sprite
that there are sound channel 1.
2. Activate the Property inspector, we will be able to see an additional tab
with the Sound icon, click that tab. See Figure 7.9.
Figure 7.9. Sound Properties
To make this sound is played over and over again, click the check box
loop, other than that we can also see the information can not be changed
such as Duration, Sample Rate, Bit Depth and Channel. to
play sound directly, click on the Play button.
7.3. Digital Video in Director
With Director, we can also play video files, but need
note that the Director can only play video files but
can not edit the video file. The video format most commonly
Director is used by Quicktime Movie (with extension MOV)
and Video for Windows (with extension AVI), but the Director also
RealMedia format and MPEG support, in this chapter we will only
focus the discussion on the format that is often used alone, ie
MOV and AVI.
7.3.1. importing Video
The video files are imported as external media, which means that the Director
just enter the reference location when imported the video file. this could
understandable, because video files are usually large, so that with
imported externally can reduce the movie file. by
Therefore, we have to include video files along with the movie
Director.
To import a video file just follow these steps:
1. Click the Import icon on the toolbar.
2. Select a video file (MOV or AVI) is desired and then click Import.
When the movie is played, the Director will seek the same relative address
to address when we import the file. For instance, we
store video files in the folder E: \ Presentations \ Videos \, and files Director
in the folder E: \ Presentations \, and if the video folder was moved to
Elsewhere, for example C: \ Videos \, then the Director will not be able to
play the video files, and a dialog box will appear
asked the location of the video file. See Figure 7.10.
Figure 7.10. The dialog box that asks the location of the video file
7.3.2. QuickTime Movie (MOV)
This format is most widely used because quicktime files can be opened
both Macintosh and Windows computers. However, unlike the
AVI files, to play the quicktime video we must ensure
QuickTime Player is installed. QuickTime Player can be
obtained free of charge on site www.quicktime.com.
Example 64: Importing Video, QuickTime (MOV).
Open a new movie and then import a quicktime video file and then
play with quicktime window. Save with the name
contoh_videoMov.Dir.
Answer:
Follow the steps below workmanship:
1. Create a new movie with the stage size = 500 x 330 and save
with the name contoh_videoMov.Dir.
2. Click the Import icon on the toolbar, go to the folder C: \ Program
Files \ Macromedia \ Director 8.5 \ Learning \ Lingo_Examples and
Vid.MOV choose, and then click Import.
3. Click Window> Quicktime Quicktime to open the Window,
press the Play button to play the video. Save
this movie again. See Figure 7.11.
Figure 7.11. Quicktime Window
7.3.3. Playing the Digital Video Cast Member
Video files will be played over the number of video frames cast members
them. For instance, if the speed of your movie is 15 frames per second
and the length of your sprite is 28 frames, the video file will be
played less than 2 seconds. To be able to play the entire file
digital video or sound, we can use the following three ways:
• Extend the duration of the sprite on the score. The video will remain
played during the playback head moves along the frame sprite
them. This method is usually not practical, because it is rather difficult to
match the video length with the length of the sprite on the score.
• Using Lingo (discussed in Chapter 9) and / or behavior
Hold On Current Frame to create a playback head remains
do looping on the frame containing digital video, so that
length of sprites on the score will not affect you, we still can
video plays with length sprite 5 frames or more, provided
last frame keep doing looping.
• Using the Cue Point located at Tempo Channel,
to play the video until it is completed, a new playback head
to the next frame.
Example 65: Inserting a QuickTime video and set the duration to
Stage.
Example 64 Modification of the video file by dragging it to the stage and
arrange for the length of the frame so that the video could be played to completion
use all three ways as discussed above.
Answer:
Follow the steps below workmanship:
1. Make sure the file is still open Contoh_VideoMOV.Dir. drag the cast
Vid.mov member into sprite channel 1, frames 1-28. look
Figure 7.12.
2. Play the video, we will see that the video
was stopped when only playable, so that we can not
see the whole video.
Figure 7.12. Preliminary results
3. Click on the sprite Vid, and activate the Property inspector and change the end
frame to 100. Try playing again, still not finished.
4. Change back to end the frame with 300, then play the movie again. time
This excess, so to use this technique we need to
clear about the duration of the video file, the new adjusted
with a length of sprites.
5. Now, change the End Frame to 10 (Figure 7.13), and switch
Library Palette, drag a hold on Current Frame behavior to the frame
10, then play the video. We can see the digital video
is played to completion.
Figure 7.13. score Channel
6. Next, we will try to use the technique que, delete
hold on current frame, then click the icon show or hide effect
the channel. See Figure 7.14.
6. Next, we will try to use the technique que, delete
hold on current frame, then click the icon show or hide effect
the channel. See Figure 7.14.
Figure 7.14. score Channel
7. Double click on frame 10 (Figure 7.14), on the other channel,
so it will show the frame properties, click on the Wait For Cue
Point, and make sure the channel is filled with less MOV1. Leave the settings
the others. Click on OK. See Figure 7.15.
Figure 7.15. frame Properties
8. Now, play back movies, such as Hold On Current Frame,
video files will be played to completion. The difference is, if on Hold
On Current Frame playback head will remain there until
command to move the playback head to the frame
the next. While the technique que, after the video has finished
played, the playback head will continue to the next frame.
9. Save the movie again.
7.3.4. Properties QuickTime Video
To view the properties of the MOV video, activate the property inspector.
Then, we will see an additional tab, the tab with the QuickTime icon
QuickTime logo. See Figure 7.16.
Figure 7.16. Property Inspector MOV
Caption:
• Show video: if this option is not checked, the
video is not played. Turn off this option, if we only want
play sound from video.
• Play Sound: play a sound on the video file, if this option is not
given a check, the video file will be played without sound.
• Direct To Stage: Director of features given to placing
video cast member on the very front of the stage, the file
the video will run very well on this option.
• Show Controller: If this option is checked, movie
QuickTime will show up on stage controller to play
the movie. This is an excess in the movie contained
quicktime and this option does not exist on the AVI video. look
Figure 7.17.
• Paused: if this option is given tamda tick, when movie is played
These video files will not be played until there is a command to
play this video file (usually with a behavior or script
Lingo).
Figure 7.17. MOV File Controller
• Loop: activate this option if you want to play video files
over and over again.
• Streaming: activate this option if the movie that we make will
distributed to the Internet. This option will speed up the process
download, because the movie will be played while the rest is downloaded.
7.3.5. Microsoft Video for Windows (AVI)
As already mentioned earlier that the Director also supports
AVI video files. Different uses of video in AVI format and
MOV, which is using AVI files we do not need to install
QuickTime Player, other than that when imported Director will ask
whether the AVI file will be imported as Quicktime or AVI.
Example 66: Importing Video AVI as AVI.
Open a new movie and import an avi video, then drag to the score
give Hold On Current Frame behavior that movie can be played
to completion and save it with the name contoh_VideoAVI.Dir.
Answer:
1. Open a new movie and save it with the name
contoh_VideoAVI.Dir.
2. Click the Import icon on the toolbar to import videos.
Go to the video folder, then click the AVI. Click the Import icon, it will
out the Select Format dialog box (Figure 7.18) which asked
whether to import the AVI file is in QuickTime format or
AVI. Click on the AVI and then click OK.
Figure 7.18. Select Format dialog box
3. In the cast window will grow a cast member with a video icon
camera (Figure 7.19), save the movie again.
Figure 7.19. cast Window
4. Drag the avi video cast it into the score channel 1, frames 1-28.
5. Drag Hold On Current Frame behavior to the script channel at frame 28.
6. Play the movie and save it back, we will see that
there was no difference in the way QuickTime and AVI video to enter.
Example 67: Importing AVI Video as QuickTime.
Open a new movie and import an avi video. Import avi video
as a quicktime video.
Answer:
Follow the steps below workmanship:
1. Open a new movie.
2. Click the Import icon on the toolbar to import videos,
entry into the video folder, then click the AVI, then click the Import icon.
3. Select the format in the dialog box (Figure 7.18), select the format
QuickTime.
4. Click OK, the cast will get a window with a cast member
quicktime icon. This shows that have been imported avi video
as a quicktime video.
7.3.6. Property Video AVI
We can see that the property to MOV and AVI are not many
is different. The difference lies only in the presence or absence of the controller and
preload. In Video AVI, there are additional preload is used
to insert a video file into memory first before
played (Figure 7.20).
Figure 7:20. Property Inspector AVI
7.4. exercise
1. Go back Foto_Album.Dir movie we have made, give
transition effects on the frame which has been shown in Table 7.1.
Table 7.1. Frame, category and name of the transition.
Frame | Categories and name of the transition |
26 | Other > Random Rows |
41 | Wipe > Center Out, Horizontal |
81 | Wipe > Center Out, Square |
121 | Wipe > Edges In, Horizontal |
185 | Wipe > Random Column |
2. Open the file Transisi2.Dir, insert effects Other> Push Down,
the transition channel on the frame 10.
a. In the options choose Affect Entire Stage, play the movie.
b. Replace a Changing Areas Only, played back.
What is the difference between the two options?
3. Fill out background noise such as music Foto_Album.Dir
Your favorite, imported as a link.
4. Is there any difference in sound icon on the cast members that are imported
by standard methods or links? What's the difference?
5. Explain what the advantages and disadvantages of the MOV video format and
AVI?