Using sound in Flash movies
Video: Using sound in Flash moviesAll right. Are you ready to make some noise? Well, add some noise or sounds to your Flash movie. We're going to start by giving an overview of a few of the built in sounds or taking a tour of the built in sounds that ship with Flash to the common library. Before we do, Flash has several ways to use sounds. A sound can play continuously, independent of the timeline. It could be synchronized to play for a certain length on the timeline and it can be attached to button events. There are two types of sounds in Flash, event sounds which are often triggered by buttons like a mouse over or on mouse down which would be a click. The second type is a streaming sound.
Viewers: in countries Watching now:
Adobe Flash CS5 is the industry standard for creating dynamic, interactive graphics, and even entire websites. This workshop from expert trainer Kelly McCathran provides a solid introduction to Flash animation, beginning with a tour of the tools and interface. Plus, learn how to animate shapes and objects, create slideshows, incorporate other media into your movies, add keyframes, and much more. Each lesson takes a simple step-by-step approach—great for beginners and also helpful for more experienced users looking to develop efficient workflows—and some simple projects are included so you can test out your newly developed skills.
- Understanding the Timeline
- Working with Timeline effects
- Adding keyframes
- Creating slideshows
- Incorporating other media into your movies
- Distributing your work effectively
- Organizing your assets
- Developing efficient workflows
Using sound in Flash movies
All right. Are you ready to make some noise? Well, add some noise or sounds to your Flash movie. We're going to start by giving an overview of a few of the built in sounds or taking a tour of the built in sounds that ship with Flash to the common library. Before we do, Flash has several ways to use sounds. A sound can play continuously, independent of the timeline. It could be synchronized to play for a certain length on the timeline and it can be attached to button events. There are two types of sounds in Flash, event sounds which are often triggered by buttons like a mouse over or on mouse down which would be a click. The second type is a streaming sound.
Streaming sounds are typically longer, they may play for the length of the entire movie or be synchronized to the timeline. Sounds can be added to movie clips and buttons, but not to the simplest symbol type, which is Graphic symbol. So if you make something a symbol, you have to choose movie clip in order to attach a sound unless you're doing a button event. So let's take a look at the free sounds that come with Flash. Under the Window menu is common libraries and there is your sounds library. I'm going to pull this up to the very top and stretch it so it's nice and long, so I can see a full collection of the sounds.
If I want to see their names, that are a little bit chopped off, I can stretch the name column. And if I want to preview a sound I can click on it, and in the upper right corner of the sound common library, you can hit play. (sound playing) And I'll stop that. I'll take a scroll down and there's a lot that are included, some pretty funny. I'll click on it. (SOUNDLAUGHSOUND) All right, but I think I'll use a giggle sound for this one, and this giggle sounds a bit like Scooby Doo.
(audio playing) All right, so what we're going to do is select the image that I have on stage, on keyframe one and convert it to a symbol. So I'll use modify convert to symbol. It already is a movie clip. Be sure if you try this on your own you aren't on graphic. I'll name this boy four and click OK. I want to make the movie play for one second so I'll click on keyframe 24. And Choose Insert > Timeline > Frame.
Now I could take this sound, and watch the library as I do it, and drag it directly onto the movie clip symbol. And it plays on the same layer as this boy. But I'm going to undo. I like to organize everything in layers, it's a good habit to get into. So I'm going to make a new layer that contains the sound itself, and I'll name that layer giggle. When I did the undo, the sound disappeared from the library.
Again, I'll take the sound and drag it onto the stage. And now, it's on my new gigalayer. To test the movie, I'll press Cmd return. (audio playing) That's enough of that. Cmd return on the Mac, or Ctrl enter on the PC. And to see the properties for the sound, I can double-click. When I double-click, aim for this little speaker icon, if you double-click on the name it lets you rename it in the library. There are various compression options, but the default is MP3, which is the most common and best for longer sounds. ADPCM, was designed for short sounds, and P3 for a little bit longer, raw for extremely short sounds, and speech for voice over. I don't need to change it from default for now, but it does give me some statistics and where it's loading it from.
There is an application that ships with the suite, depending on which one you buy, called Adobe Sound Booth, that you can use to edit and clip together your sounds. But for now, we're just going to click OK and use this built-in sound in Flash. The last thing I want to look at is the properties inspector. And I'm going to double-click on this keyframe span, to select the sound. You'll notice the sound name, and we have some effect options. If someone's listening on a headset, you could force out of one sound or the other.
Left, or left to right, do some fun stuff. I can also have it fade in or fade out. I'll try a light fade in. And there are edits that you can make to this but we're not going to at the moment. You could sync two events or you could have it Start, stop or stream and you can have it repeat a certain number of times or loop. It will automatically loop. So again if I play this movie. (LAUGH) It's a little bit more subtle from one repeat to the next.
I could even drag in the timeline the length down. And play again with Commander Turner Ctrl enter. (audio playing) But it's still continuously looping. So this is just a brief intro of what you can do with built in sounds and some ways you might use sounds. Give this a try with some of your own files or with our project file.
There are currently no FAQs about Introduction to Flash Animation.