• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Hour 10. Including Sound in Your Animati... > Task: Add Sounds and Sound Effects t...

Task: Add Sounds and Sound Effects to an Animation

In this task we add sounds to a sample movie. Follow these steps:

1.
Download the file “keyframing.fla” from my Web site. The address is: www.phillipkerman.com/teachyourself/sourcefiles/keyframing.fla. In Flash, open this file and then press Enter to watch the animation. Also, open the Sounds common library from Window, Common Libraries, Sounds.

2.
Open the Library for Keyframing by selecting Window, Library (or pressing Ctrl+L). Position the two open libraries so they appear side by side or dock them together as in Figure 10.8.

Figure 10.8. Position the Sounds common library next to the library for the Keyframing sample file so we can transfer sounds.


3.
Drag the following sound items from the Sounds library to the Keyframing file's library: Beam Scan, Smack, Visor Hum Loop.

4.
Now these sounds will be available to your file, but we need to put them into keyframes. Let's first make a new layer just for the sounds. Select Insert, Layer (don't worry if it puts the layer under all others—it doesn't really matter where it appears). Name this layer “Background Music”.

5.
Select the first frame of Background Music and look at the Properties panel. From the Sound drop-down list, select Visor Hum Loop. To make it loop continuously, type a bunch of nines (99999999999) into the Loops field. See Figure 10.9.

Figure 10.9. When you type a high number into the Loops field, the sound will play continuously.


6.
Select Control, Test Movie. The sound loops nicely, and it adds a bit of drama to our movie. Let's add some incidental sound effects.

7.
Select Insert, Layer and name the layer “Sound Effects”. We're going to insert a sound effect right when the X smacks the M, which happens at about frame 17. In frame 17 of Sound Effects select Insert, Keyframe (or press F6).

8.
Select the keyframe you just inserted and from the Properties panel select Smack from the Sound drop-down list. Just leave the default settings (Event Sync and 0 Loops) because we don't want this sound to loop.

9.
Select Control, Test Movie. The Smack effect is good, but the hum keeps humming throughout the whole movie.

10.
To stop the hum, select frame 29 of the Sound Effects layer and select Insert, Keyframe (or press F6). Make sure you're selecting just this keyframe, and then use the Properties panel to insert the Visor Hum Loop again, but this time select Sync Stop to cause any instances of this sound to stop. (You can Test Movie again to see and hear the results.)

11.
Finally, let's add a sound effect for when the sparkle animates. At frame 30 of Sound Effects select Insert, Keyframe (or press F6), select just this keyframe, and then insert the Beam Scan sound. Test Movie and it should be measurably better than the silent version. By the way, these sounds only add about 3K to the total file size! One thing you can try is to remove the excess silence at the start of the Beam Scan sound. Just select frame 30 in the Sound Effects layer and press Edit… on the Properties panel. Then you can cut sound off the beginning by dragging the Time In marker in the Edit Envelope dialog box (shown in Figure 10.7 earlier).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint