Recipe 17.3. Adding a Sound to a Timeline for PlaybackProblemYou want to add an imported sound to your movie's timeline. SolutionCreate a new layer within the timeline into which you want to add the sound, create a new keyframe if necessary, and with the keyframe selected, drag the sound from the library onto the stage. Alternatively, instead of dragging the instance from the library onto the stage, you can select the keyframe, and select the sound you want to add from the Sound menu in the Property inspector. DiscussionObviously, before you can add a sound to a timeline for playback, you need to import the sound into the movie. See Recipe 17.1 for more information on that process. After you have imported a sound, you can add it to any keyframe by selecting that keyframe and then dragging the sound symbol from the library and dropping it on the stage. It is a good practice to always create a new layer for each sound in your timeline. Here is the step-by-step process for adding an imported sound to the movie:
As an alternative to dragging and dropping the sound onto the stage, you can also choose the sound you want to add to a keyframe from the Sound menu in the Property inspector. To do this, follow steps 1 through 4 from the preceding list, and then in the Property inspector choose the sound you want to add from the Sound menu. When you add a sound to a keyframe, the synchronization defaults to Event. You can also select from other types of synchronization options if Event does not meet your movie's needs. Synchronization can affect how the sound plays back as well as how the Flash movie plays, and it is an important topic. See Recipe 17.4 and Recipe 17.10 for more information on how to synchronize your sounds. See AlsoRecipe 17.4 and Recipe 17.10 for more information on how to synchronize sounds. Also, see Recipe 17.5 for more information on how to place a sound in a button timeline so that the playback occurs when the user clicks on the button. |
Tripod >> 3pod Tips & Learning and manuals for educations