Importing Sounds - MACROMEDIA FLASH MX 2004-USING FLASH Use Manual

Hide thumbs Also See for FLASH MX 2004-USING FLASH:
Table of Contents

Advertisement

Using the sound-editing controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
Controlling sound playback using behaviors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
Starting and stopping sounds at keyframes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
About the onSoundComplete event . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
Compressing sounds for export . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
Using sounds in Flash documents for mobile devices (Flash Professional only). . . . . . . . . . . . 213
Creating a Flash Lite sound file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214

Importing sounds

You place sound files into Flash by importing them into the library for the current document.
Note: When placing a sound on the Timeline, you place it on a separate layer. For more information,
see
"Adding sounds to a document" on page
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)
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)
Flash stores sounds in the library along with bitmaps and symbols. As with graphic 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 documents, you can include the sounds in shared
libraries. For more information, see
sound in a shared library, you assign the sound file an identifier string in the Linkage Properties
dialog box. The identifier can also be used to access the sound as an object in ActionScript. For
information on objects in ActionScript, see
Sounds can use considerable 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-bit 22 kHz mono sounds (stereo uses twice as much data as mono), but
Flash can import either 8- or 16-bit sounds at sample rates of 11, 22, or 44 kHz. Flash can
convert sounds to lower sample rates on export. For more information, see
for export" on page
202
Chapter 11: Working with Sound
"Working with common libraries" on page
209.
203.
"Using sounds with Sound objects" on page
21. To use a
205.
"Compressing sounds

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents