Using sounds in flash lite, Exporting sounds, Compressing sounds for export – Adobe Flash Professional CS3 User Manual

Page 302

Advertising
background image

FLASH CS3

User Guide

296

Using sounds in Flash Lite

Adobe® Flash® Lite supports two types of sound: standard Flash sounds, like those used in Flash desktop applications,
and device sounds. Flash Lite 1.0 supports device sounds only; Flash Lite 1.1 and 2.x support both standard sounds
and device sounds.

Device sounds are stored in the published SWF file in their native audio format (such as MIDI or MFi); during
playback, Flash Lite passes the sound data to the device, which decodes and plays the sound. Because you can’t
import most device audio formats into Flash, you instead import a proxy sound in a supported format (such as mp3
or AIFF) that is replaced with an external device sound that you specify.

You can use device sounds only as event sounds—you can’t synchronize device sounds with the Timeline, as you can
with standard sounds.

Flash Lite 1.0 and Flash Lite 1.1 do not support the following features available in the desktop version of Flash® Player:

The ActionScript Sound object

Loading of external mp3 files

The Speech Audio Compression option

For more information, see “Working with Sound, Video, and Images” in Developing Flash Lite 2.x Applications or
“Working with Sound” in Developing Flash Lite 1.x Applications.

Exporting Sounds

Compressing sounds for export

You can select compression options for individual event sounds and export the sounds with those settings. You can
also select compression options for individual stream sounds. However, all stream sounds in a document are
exported as a single stream file, using the highest setting of all those applied to individual stream sounds. This
includes stream sounds in video objects.

If you select global compression settings for event sounds or stream sounds in the Publish Settings dialog box, these
settings are applied to individual event sounds or all stream sounds if you do not select compression settings for the
sounds in the Sound Properties dialog box.

You can also override export settings specified in the Sound Properties dialog box by selecting Override Sound
Settings in the Publish Settings dialog box. This option is useful if you want to create a larger high-fidelity audio file
for local use and a smaller low-fidelity version for the web.

The sampling rate and degree of compression make a significant difference in the quality and size of sounds in
exported SWF files. The more you compress a sound and the lower the sampling rate, the smaller the size and the
lower the quality. You should experiment to find the optimal balance between sound quality and file size.

When working with imported mp3 files, you can export the files in mp3 format using the same settings that the files
had when imported.

Note: In Windows, you can also export all the sounds from a document as a WAV file using File > Export > Export
Movie.

Advertising