View comments | RSS feed

Flash CS3  |  Go to CS4 Help

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)

  • 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. 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.

    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 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. Flash can convert sounds to lower sample rates on export.

    If you want to add effects to sounds in Flash, 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.



Comments

Comments are no longer accepted for Flash CS3. Flash CS4 is the current version. To discuss Flash CS3, please use the Adobe forum.

Comments


TrombaMarina said on Oct 2, 2007 at 3:27 PM :
If you use Audacity to create your sounds, be sure to read this article:

http://dyork.livejournal.com/215264.html

By default, Audacity/LAME creates an MP3 file with a sample rate of 24Khz. When Flash resamples it, you loose a noticeable amount of quality. One solution is to export WAV files then convert to MP3 using LAME from the command line (which gives you control of the sample rate).
No screen name said on Oct 17, 2007 at 10:56 AM :
This is according to the Adobe documentation online.

"Although there are various sound file formats used to encode digital audio, ActionScript 3.0 and Flash Player support sound files that are stored in the mp3 format. They cannot directly load or play sound files in other formats like WAV or AIFF."

Which contradicts the information here

Which is correct?
Joe ... Ward said on Oct 19, 2007 at 2:45 PM :
Although Flash Player (and its ActionScript methods) can only load MP3 sound files, the Flash Authoring tool is able to import a wider variety of file types. Imported sounds are embedded in MP3 format.

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/UsingFlash/WSd60f23110762d6b883b18f10cb1fe1af6-7ce6.html