Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
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.
Get unlimited access to all courses for just $25/month.Become a member
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
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.