Our website will be down for scheduled maintenance on Thursday, September 18, at 11 p.m. Pacific Time and should be back up by Midnight. We apologize for any inconvenience.

Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Using sound in Flash movies

From: Introduction to Flash Animation

Video: 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.

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.

Show transcript

This video is part of

Image for Introduction to Flash Animation
Introduction to Flash Animation

32 video lessons · 6189 viewers

Kelly McCathran
Author

 
Expand all | Collapse all
  1. 1m 38s
    1. Welcome
      1m 38s
  2. 19m 35s
    1. Introduction to Flash CS5 and the Flash Player
      4m 28s
    2. FLA, SWF, and other file types
      5m 43s
    3. Flash feature comparison
      3m 58s
    4. Raster vs. vector
      5m 26s
  3. 27m 56s
    1. Overview of the interface
      7m 42s
    2. Panel modes and workspaces
      6m 54s
    3. Setting preferences
      4m 5s
    4. Choosing the proper document size
      9m 15s
  4. 28m 55s
    1. Merge Drawing mode vs. Object Drawing mode
      6m 43s
    2. Using primitive objects
      6m 37s
    3. Other shape tools
      6m 49s
    4. Selecting, modifying, and transforming objects
      8m 46s
  5. 17m 30s
    1. Your first animation
      6m 4s
    2. That's how the ball bounces
      6m 50s
    3. Working with multiple shape tweens
      4m 36s
  6. 34m 50s
    1. Creating and working with symbols
      8m 16s
    2. Editing symbols
      6m 38s
    3. The anatomy of a button
      4m 0s
    4. Building a button from scratch
      7m 18s
    5. The Library panel
      8m 38s
  7. 22m 42s
    1. The Timeline: Part one
      7m 48s
    2. The Timeline: Part two
      7m 7s
    3. The Timeline: Part three
      7m 47s
  8. 21m 32s
    1. Introduction to the Motion Editor
      6m 54s
    2. Using filters and color effects
      7m 29s
    3. Applying easing with the Motion Editor
      7m 9s
  9. 14m 56s
    1. Options for testing your movie
      3m 57s
    2. Full overview of Publish Settings and export options
      10m 59s
  10. 13m 31s
    1. Using sound in Flash movies
      5m 53s
    2. Importing sound into Flash movies
      4m 40s
    3. Adding sounds to a button
      2m 58s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Introduction to Flash Animation.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.