Adding
Sound to a Movie
To add sound to a movie, you assign
a sound to a layer and set options
in the Sound panel. It is recommended
that you place each sound on a separate
layer.
Importing the sound file:
- Choose FILE/IMPORT.
- Navigate to the file you want
to import and select it.
- This places the file in the library.
To add a sound to a movie:
Import the sound if it has not already
been imported to the library.
- Choose INSERT / LAYER to create
a layer for the sound.
- With the new sound layer selected,
drag the sound from the library
onto the Stage. The sound is added
to the current layer.
You can place multiple sounds on
one layer, or on layers containing
other objects. However, it is recommended
that each sound be placed on a separate
layer. Each layer acts like a separate
sound channel. The sounds on all
layers are combined when you play
back the movie.
- From the Sound panel, choose a
sound file.
- Choose an effect option from the
Effects pop-up menu:
None applies no
effects to the sound file. Choose
this option to remove previously
applied effects.
Left Channel/Right Channel
plays sound in the left
or right channel only.
Fade Left to Right/Fade
Right to Left shifts the
sound from one channel to the other.
Fade In gradually
increases the amplitude of a sound
over its duration.
Fade Out gradually
decreases the amplitude of a sound
over its duration.
Custom lets you
create your own In and Out points
of sound using the Edit Envelope.
- Choose a synchronization option
from the Sync pop-up menu:
Event synchronizes the sound to
the occurrence of an event. An event
sound plays when its starting keyframe
is first displayed and plays in
its entirety, independently of the
Timeline, even if the movie stops.
Event sounds are mixed when you
play your published movie.
An example of an event sound is
a sound that plays when a user clicks
a button.
Start is the same
as Event, except
that if the sound is already playing,
a new instance of the sound is started.
Stop silences the
specified sound.
Stream synchronizes the sound for
playing on a Web site. Flash forces
animation to keep pace with stream
sounds. If Flash can't draw animation
frames quickly enough, it skips
frames. Unlike event sounds, stream
sounds stop if the animation stops.
Also, a stream sound can never play
longer than the length of the frames
it occupies. Stream sounds are mixed
when you publish your movie.
An example of a stream sound is
the voice of a character in an animation
that plays in multiple frames.
If you use an MP3 sound as a stream
sound, you must recompress the sound
for export. See Compressing sounds
for export.
- Enter a value for Loop to specify
the number of times the sound should
loop.
For continuous play, enter a number
large enough to play the sound for
an extended duration. For example,
to loop a 15-second sound for 15
minutes, enter 60.
Note: Looping stream sounds is not
recommended. If a stream sound is
set to loop, frames are added to
the movie and the file size is increased
by the number of times the sound
is looped.
|