• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Making a Button

Any time you create a new symbol, you must specify the behavior as a Movie Clip, Button, or Graphic. So far you've only chosen Graphic or Movie Clip. Creating a button is actually no more difficult than selecting Button as the behavior. The following task looks at creating a button in more detail.

Try It Yourself: Make a Super Simple Button

In this task you'll make the simplest button possible:

1.
In a new file, draw an oval or a rectangle that will become your button.

2.
Use the Selection tool to select the entire shape.

3.
Convert the shape to a symbol by selecting Modify, Convert to Symbol (or pressing F8).

4.
Name the symbol MyButton, make sure that you select the Button behavior, and then click OK.

5.
Test your movie (by using Control, Test Movie or pressing Ctrl+Enter) and notice the way your mouse cursor changes when you place it over the button (as shown in Figure 14.1).

Figure 14.1. Any shape can be used as a button. The user's cursor changes to a hand when it's over the shape.


6.
Save this file because you'll add to it in the next task.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint