Lesson 8

Working with Sound

Flash offers several choices for putting sound into a movie. You saw one option in Lesson 4, when you added sound to a button: Select a keyframe (not a blank frame, but definitely a keyframe) where you want the sound to begin, and then drag the sound from the Library to the Stage. Simple!

Sound can be added to any part of the Timeline (not only to buttons) in the same way. Some Flash authors always handle sound this way—putting it directly on the Timeline. If you do add sound that way, always be sure to place it in its own layer, separate from all other objects.

However, putting sound directly onto the Timeline provides the least control. If you want to use buttons to control your sound and give your users ...

Get Flash Journalism now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.