Chapter 14: Working With Sound; Using Sounds In Flash - Adobe 38039336 - Flash CS3 Professional User Manual

User guide
Hide thumbs Also See for 38039336 - Flash CS3 Professional:
Table of Contents

Advertisement

Chapter 14: Working with sound

You can use sound in Adobe® Flash® CS3 Professional in several different ways to make your work more interesting
and involving. You can import sounds and edit them after they are imported. You can attach sounds to different
kinds of objects and trigger them in different ways, depending on your desired effect.

Using sounds in Flash

About sounds and Flash
Adobe® Flash® CS3 Professional 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: 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.
If you're creating Flash content for mobile devices, Flash also lets you include device sounds in your published SWF
file. Device sounds are encoded in the device's natively supported audio format, such as MIDI, MFi, or SMAF.
You can use shared libraries to link a sound to multiple documents. You can also use the ActionScript™ 2.0
event to trigger an event based on the completion of a sound.
Complete
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.
For more information, see
in ActionScript 2.0 Language Reference or
method)
Reference.
See also
"Using shared library assets" on page 219
Importing sounds
You place sound files into Flash by importing them into the library for the current document.
You can import the following sound file formats into Flash:
• 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)
attachSound (Sound.attachSound method)
Sound class
and
loadSound (Sound.loadSound
in ActionScript 3.0 Language and Components
292
onSound-

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash cs3 professional

Table of Contents