From the course: Flash Professional CS5 Essential Training

Unlock this course with a free trial

Join today to access over 22,400 courses taught by industry experts.

Creating button symbols

Creating button symbols

To create a button symbol in Flash, you can pretty much start out with any artwork you would like. On the Stage here I have a graphic symbol, but of course you can start out with just text, a bitmap image, or just a symbol of vector shape. I'll select my object on the Stage and then go to Modify > Convert to Symbol. For the Name I'll type Button 1 and for the Type I'll choose Button and I'll click OK. Now when I have the instance selected, you can see that I have an instance of Button 1. And if I double-click the button, I'll enter its timeline. So we have the Up, Over, Down and Hit frames. For simplicity's sake, I have already built the states for this button, but you can add any artwork you would like. I'll create keyframes at the Over, Down and Hit frames. For the Over and Down keyframes, I'll press F6, but for the Hit keyframe I am going to press F7. We will draw the Hit state later on in this movie. So let's go to the Over frame and I am going to swap this instance out with…

Contents