About sounds and FlashAdobe® Flash® Professional CS5 offers several ways to use sound. Make sounds that play continuously, independent of the Timeline, or use the Timeline to synchronize animation to a sound track. Add sounds to buttons to make them more interactive, and make sounds fade in and out for a more polished sound track.
There are two types of sounds in Flash Pro: event sounds and stream sounds. An event sound must download completely before it begins playing, and it continues playing until explicitly stopped. Stream sounds begin playing as soon as enough data for the first few frames has been downloaded; stream sounds are synchronized to the Timeline for playing on a website.
You can load sounds and control sound playback using prewritten behaviors or media components; the latter also provide a controller for stop, pause, rewind, and so on. You can also use ActionScript 2.0 or 3.0 to load sounds dynamically.
You place sound files into Flash Pro by importing them into the library for the current document.
- Select File > Import > Import To Library.
- In the Import dialog box, locate and open the desired sound file.
Flash Pro stores sounds in the library along with bitmaps and symbols. You need only one copy of a sound file to use that sound multiple ways in your document.
If you want to share sounds among Flash Pro documents, you can include the sounds in shared libraries.
Flash Pro includes a Sounds library containing many useful sounds that can be used for effects. To open the Sounds library, choose Window > Common Libraries > Sounds. To import a sound from the Sounds library to your FLA file, drag the sound from the Sounds library to the Library panel of your FLA file. You can also drag sounds from the Sounds library to other shared libraries.
Sounds can use large amounts of disk space and RAM. However, mp3 sound data is compressed and smaller than WAV or AIFF sound data. Generally, when using WAV or AIFF files, it’s best to use 16-22 kHz mono sounds (stereo uses twice as much data as mono), but Flash Pro can import either 8- or 16-bit sounds at sample rates of 11, 22, or 44 kHz. Sounds recorded in formats that are not multiples of 11 kHz (such as 8, 32, or 96 kHz) are resampled when imported into Flash Pro. Flash Pro can convert sounds to lower sample rates on export.
If you want to add effects to sounds in Flash Pro, it’s best to import 16-bit sounds. If you have limited RAM, keep your sound clips short or work with 8-bit sounds instead of 16?bit sounds.
Supported sound file formats
You can import the following sound file formats into Flash Pro:
- ASND (Windows or Macintosh). This is the native sound format of Adobe® Soundbooth™.
- WAV (Windows only)
- AIFF (Macintosh only)
- mp3 (Windows or Macintosh)If you have QuickTime® 4 or later installed on your system, you can import these additional sound file formats:
- AIFF (Windows or Macintosh)
- Sound Designer® II (Macintosh only)
- Sound Only QuickTime Movies (Windows or Macintosh)
- Sun AU (Windows or Macintosh)
- System 7 Sounds (Macintosh only)
- WAV (Windows or Macintosh)
Part 1: Setting up your Lip-Sync activity:
- Create a new Activity 11 sub folder under your Unit 2 folder of your thawed drive,
- Open Your Unit 2/Activity 10 fla file,
- Save the Activity10.fla as firstlastname_activity11.fla in your new Activity 11 sub folder,
- Create the following 4 new layers in your timeline:
- Side profile lip-sync,
- Front profile lip-sync,
- Score Track,
- Voice Over Track
- Save your activity.
Part 2: Creating your Audio:
- Launch Adobe Audition CS5.5,
- Create a new Audio File (go to File/New/Audio track)
- Go to Edit/Preferences and make sure your Audio hardware has Input and output set to your Headset. Click OK,
- Make sure the “red” mute light is off on your headset.
- Practice reading your Quote/Saying from activity 10. When you are ready click the red record button (see image below).
- Repeat the process until you have a clear audio file. When you are done, go to File/Export/file.
- Export as: firstlastname_activity11.mp3 in your activity 11 folder,
Part 3: Export a loop file as a Score
- Go to the Resource Central Panel,
- Select Loops and pick a genre of your choice,
- Listen to the loops and select the most appropriate score/loop for your animation,
- Click the dowload arrow
- When the file is downloaded, drag it to the project area,
- Right click the file name and reveal in explorer.
- Copy the file and Paste into your activity 11 sub folder.
Part 4: Add sound files to the Timeline
- Import the Voice and score files into the library of your firstlastname_activity11.fla file.
- Make sure all layers are locked except the voice track layer you created earlier. Insert a new Blank Keyframe on your layer (where the audio should tart.
- With the new sound layer selected, drag the sound from the Library panel onto the Stage. The sound is added to the current layer.
- Repeat again, but this time using the score layer. Test when completed, if it works disable the score layer’s visibility so you can focus on voice track and lip sync.
- Yes, 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 as a separate sound channel. The sounds on all layers are combined when you play the SWF file.
- In the Timeline, select the first frame that contains the sound file.
- Select Window > Properties, and click the arrow in the lower-right corner to expand the Property inspector.
- In the Property inspector, select the sound file from the Sound pop-up menu.
- Select an effect option from the Effects pop-up menu:
None – Applies no effects to the sound file. Select 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 volume of a sound over its duration.
Fade Out – Gradually decreases the volume of a sound over its duration.
Custom – Lets you create custom in and out points of sound using the Edit Envelope.
Part 5: Sync Lip graphic to sound in Flash
- Modify the timeline view so you can see the wav frequency of voice track. Look for spike in the wav frequency, this will tell you when you should use your lip-sync graphics. Try to sync the character’s lips to the entire recording,
- Enable the score in the background. You may need to apply a custom effect to the track so it does not interfere with the voice track.
- loop the score track so it starts at the beginning of the timeline and fades out at the end of your animation. You may need to create new layers to loop the audio. Watch the video provided (below)
- Export as: firstname_activity 11.swf
- Now upload your two (fla and swf) files here: http://www.ict.sislerhightechnology.com/archives/9283
The following Adobe TV videos and articles provide detailed instruction on using sound in Flash Pro.
- Video: Working with sound (2:57)
- Video: Working with Soundbooth and Flash (4:02)
- Video: Layers TV – Episode 74: 3D tools and sound (23:09)
- Article: Synchronizing text with audio
- Video series: Working with audio
- Video: Audio in Flash: Part 1 (Sound on the Timeline) LayersMagazine.com
- Video: Audio in Flash: Part 2 (Sound and ActionScript) LayersMagazine.com