Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
In this chapter we're going to be working with movie clip symbols. Movie clip symbols work different from graphic symbols and of course, buttons. You can create a movie clip symbol by selecting any piece of artwork and then pressing the keyboard shortcut F8. You can choose movie clip symbol for the type and that's all you need to do to create a movie clip symbol. By this point, you should have a lot of practice creating symbols, so I'm not going to go into that process in detail. Let's take a look at our movie clip on the Stage. When I select the biker, you'll see that it's a movie clip in the Properties panel.
It's an instance of a movie clip named Biker. Notice my timeline only has one frame. If I double-click the Biker movie clip, you'll see that it has multiple frames. If this were a graphic symbol, the main timeline would need enough frames to accommodate this animation. But with a movie clip symbol, the animation will loop regardless of whether there's enough frames on the main timeline. So you can think of a movie clip as almost a self-contained, independent Flash movie.
So a movie clip plays on its own independent of any other objects. So let's go back to Scene 1 or the main timeline and test this application in the Flash Player. So you can see the biker animate even though there is only one frame on the main timeline. Another difference between a movie clip and a graphic symbol is that with a movie clip, you can communicate to the object using ActionScript code. That means you can command the movie clip to change while your Flash movie is playing, so you can move it, rotate it, scale it, and a number of other things in the Flash Player.
So what I want you to take out of this movie is that a movie clip is essentially a self-contained Flash movie and plays independently of the main timeline, so you can have a movie clip symbol that has multiple frames of animation and only one frame of animation on the main timeline and the movie clip will still animate.
Get unlimited access to all courses for just $25/month.Become a member