Start learning with our library of video tutorials taught by experts. Get started

Flash CS4 Professional Tools for Character Animation
Illustration by John Hersey

Syncing audio


From:

Flash CS4 Professional Tools for Character Animation

with Todd Perkins

Video: Syncing audio

In this file here I have an animation of a claw closing really sharply. I will test the movie to show you. Command+ Return on the Mac, Ctrl+Enter on the PC. What I am going to do in this demo is show you how to sync sound with the animation to make the animation a little more powerful and have a snapping sound when the claw closes. If you are following along, go ahead and open up Syncing_Audio.fla from the Chapter 2 folder. You can also just use any movie clip for this exercise. We'll double-click the monster on the Stage and then double-click the LeftClaw movie click to enter LeftClaw timeline. So here we have an animation and on frame 1, the claw is closed.
Expand all | Collapse all
  1. 2m 44s
    1. Welcome
      42s
    2. Using the example files
      46s
    3. Getting into this course
      1m 16s
  2. 39m 5s
    1. Reviewing motion tweens
      2m 32s
    2. Adjusting motion tweens in the Property Inspector
      3m 55s
    3. Working property keyframes
      5m 18s
    4. Controlling easing in the Motion Editor
      3m 28s
    5. Creating custom easing in the Motion Editor
      4m 36s
    6. Squashing and stretching with custom easing
      5m 33s
    7. Adding shadows
      2m 6s
    8. Encapsulating animations
      2m 39s
    9. Randomizing animations with graphic symbols
      2m 16s
    10. Stretching animations
      1m 31s
    11. Saving for previous versions of Flash
      1m 50s
    12. Converting animations to ActionScript code
      3m 21s
  3. 19m 43s
    1. Adding a perspective shadow
      3m 40s
    2. Nesting animations
      4m 26s
    3. Syncing audio
      4m 8s
    4. Adding 3D rotation
      5m 38s
    5. Using 3D layers
      1m 51s
  4. 17m 9s
    1. Animating a bone system
      3m 22s
    2. Adding easing to an armature animation
      1m 39s
    3. Creating complex armature animations
      2m 25s
    4. Creating bounce
      2m 53s
    5. Adding bones to shapes
      3m 19s
    6. Adding 3D animation to a spider
      2m 19s
    7. Creating interactive bones
      1m 12s
  5. 19m 2s
    1. Animating masks
      4m 3s
    2. Animating masked content
      5m 7s
    3. Creating shadows with masks
      4m 29s
    4. Creating an iris effect using masks
      5m 23s
  6. 7m 30s
    1. Saving motion presets
      1m 43s
    2. Exporting and importing motion presets
      3m 19s
    3. Applying and adjusting motion presets
      2m 28s
  7. 11m 40s
    1. Understanding walk cycles
      2m 45s
    2. Creating a walk cycle
      5m 16s
    3. Adding body movement
      3m 39s
  8. 19s
    1. Goodbye
      19s

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
Please wait...
Flash CS4 Professional Tools for Character Animation
1h 57m Intermediate Oct 28, 2008

Viewers: in countries Watching now:

The animation tools have been greatly enhanced in Flash CS4, and Todd Perkins teaches their advanced capabilities in Flash CS4 Professional Tools for Character Animation. He shows how to master the new Motion Tween model and the Motion Editor to control easing and effects such as Squash and Stretch. He demonstrates how to use the new 3D tools to add rotation, perspective shadows, and layered animations. Complex interactive animations and walk cycles are created without a line of code using bone systems. Todd also demonstrates the power of advanced masking, sound effect syncing, and much more. Exercise files accompany the course.

Topics include:
  • Encapsulating and nesting animations
  • Randomizing movement with graphic symbols
  • Converting animations to ActionScript or previous Flash versions
  • Creating an iris effect
  • Saving, adjusting, and applying motion presets
  • Adding body movement to walk cycles
Subjects:
3D + Animation Web Animation Character Animation
Software:
Flash Professional
Author:
Todd Perkins

Syncing audio

In this file here I have an animation of a claw closing really sharply. I will test the movie to show you. Command+ Return on the Mac, Ctrl+Enter on the PC. What I am going to do in this demo is show you how to sync sound with the animation to make the animation a little more powerful and have a snapping sound when the claw closes. If you are following along, go ahead and open up Syncing_Audio.fla from the Chapter 2 folder. You can also just use any movie clip for this exercise. We'll double-click the monster on the Stage and then double-click the LeftClaw movie click to enter LeftClaw timeline. So here we have an animation and on frame 1, the claw is closed.

So I will create a new layer and I will call it Sound, then I am going to drag a sound into this layer. To do that, I will go to the Library and then click and drag Lobster2.mp3 from the Library on to the Stage in the sound layer. We'll then see the sound in the timeline. I'm going to select the keyframe where the sound starts, go the Property inspector and change the Sync property to Stream. Mine is actually already set at Stream but make sure to change yours to Stream if not at Stream already. Stream is really the best for syncing any kind of audio. So that's what I am doing here since I am using a streaming sound. Now I am going to test the movie right now and when I do you may noticed that you hear the sound overlapping with another similar sound. I will test the movie now.

(Snap, snap, snap, snap, snap, snap.) I'll let the animation run a few times so that you can hear the sounds kind of overlapping. If you can't hear it on the movie, you may be able to hear it on your screen in Flash. The reason why the problem is happening is because we have a movie clip that's duplicated. If I go to the main timeline by clicking on Scene 1, you will see a shadow on the Stage. This shadow is actually a duplicate of the drippy monster movie clip. So what I am going to do is remove the sound from the shadow movie clip and to do that, I am going to need to follow kind of a procedure here.

So I will lock the monster layer and unlock the shadow layer. The first thing I am going to do is right-click or Ctrl- click the shadow and then choose Swap Symbol. Here we can swap this symbol out with another symbol. Now we don't have another symbol and it doesn't have sound. But what I am going to do is create a duplicate of the Drippy Monster symbol here. So I will select DrippyMonster in the Swap Symbol dialog and then click the Duplicate Symbol button. I will name the new symbol DrippyMonsterNoSound. Click OK and then I will choose that movie clip and click OK. If you test the movie, you are still going to hear the same problem. That's because we need to actually remove the sound from the left claw movie clip.

So I am going to double click the shadow to enter its timeline and then there is the left claw there. Remember, again I am in DrippyMonsterNoSound this time and we will do the same Swap Symbol technique for this movie clip and then create a copy that doesn't have any sound. So I will right-click the movie clip, choose Swap Symbol, select LeftClaw, click the Duplicate Symbol button, name the symbol LeftClawNoSound, click OK. Select LeftClawNoSound in the Swap Symbol dialog and then click OK to accept and now I am going to double-click the left claw on Stage. That should bring me inside of the LeftClawNoSound movie clip.

So now what I am going to do is delete the sound layer in this movie clip. Select the Sound layer, click the Deleter Layer button to delete it and now I have removed the sound from the shadow but not the original movie clip and I did that by copying the shadow symbols, then removing the sound in the symbol copy, not the original. If I test the movie, you won't hear the same problem. Command+Return on the Mac, Ctrl+Enter on the PC. (Snap, snap, snap, snap.) So remember, if you ever want to take sound out of the instance that you are duplicating, you can create a duplicate symbol and take the sound out of the duplicate and leave the original movie clip intact.

There are currently no FAQs about Flash CS4 Professional Tools for Character Animation.

Share a link to this course
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.
Upgrade now


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.

Upgrade now

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 Flash CS4 Professional Tools for Character 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
Welcome to the redesigned course page.

We’ve moved some things around, and now you can



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.

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.