
312
Working with Sound
This chapter contains the following sections:
Importing sounds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
Adding sounds to a document. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
Adding sounds to buttons. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
Using sounds with Sound objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
About accessing ID3 properties in MP3 files with Flash Player . . . . . . . . . . . . . . . 316
Using the sound-editing controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
Controlling sound playback using behaviors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
Starting and stopping sounds at keyframes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320
About the onSoundComplete event. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320
Compressing sounds for export . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321
About using sounds in Flash Lite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .326
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. As with graphic symbols,
you need only one copy of a sound file to use that sound multiple ways in your document.
NO
TE
When placing a sound in the Timeline, you place it on a separate layer. For more
information, see
“Adding sounds to a document” on page 313
.
Содержание FLASH 8-USING FLASH
Страница 1: ...Using Flash...
Страница 12: ...12 Contents...
Страница 110: ...110 Using Symbols Instances and Library Assets...
Страница 128: ...128 Working with Color Strokes and Fills...
Страница 156: ...156 Drawing...
Страница 190: ...190 Working with Text...
Страница 224: ...224 Working with Graphic Objects...
Страница 270: ...270 Creating Motion...
Страница 310: ...310 Working with Video...
Страница 362: ...362 Working with Screens Flash Professional Only...
Страница 386: ...386 Creating Multilanguage Text...
Страница 454: ...454 Data Integration Flash Professional Only...
Страница 500: ...500 Publishing...
Страница 534: ...534 Creating Accessible Content...