User Guide
6 Contents
Tweening shapes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Using shape hints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Creating frame-by-frame animations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Editing animation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
Using mask layers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
CHAPTER 10: Working with Video . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
About file formats for imported video . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
About the Sorenson Spark codec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
Using the Video Import wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
Importing Macromedia Flash Video (FLV) files. . . . . . . . . . . . . . . . . . . . . . . . . . 187
Importing linked QuickTime video files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
About playing back external FLV files dynamically . . . . . . . . . . . . . . . . . . . . . . . 189
Changing the properties of a video clip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
Controlling video playback using behaviors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
About controlling video playback using the Timeline . . . . . . . . . . . . . . . . . . . . . 192
Exporting FLV files from video-editing applications (Flash Professional only) . . . 192
Playing FLV video clips with media components (Flash Professional only) . . . . . 196
CHAPTER 11: Working with Sound . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
Importing sounds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
Adding sounds to a document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Adding sounds to buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
Using sounds with Sound objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
About accessing ID3 properties in MP3 files with Flash Player . . . . . . . . . . . . . . 205
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
CHAPTER 12: Working with Screens (Flash Professional Only) . . . . . . . . . . . . 215
Understanding screen-based documents and the
screen authoring environment (Flash Professional only) . . . . . . . . . . . . . . . . . 216
Using the Screen Outline pane (Flash Professional only) . . . . . . . . . . . . . . . . . . . 219
About undoing and redoing commands with screens
(Flash Professional only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
Using the screens context menu (Flash Professional only) . . . . . . . . . . . . . . . . . . 220
Creating a new screen-based document (Flash Professional only). . . . . . . . . . . . . 220
Adding screens to a document (Flash Professional only) . . . . . . . . . . . . . . . . . . . 221
Naming screens (Flash Professional only). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
Setting properties and parameters for a screen (Flash Professional only). . . . . . . . 223
About adding media content to screens (Flash Professional only). . . . . . . . . . . . . 226