Adobe Flash Professional CS6 Adobe Flash Professional CS6 Classroom In A Book | Page 216
Creating Buttons
A button is a basic visual indicator of what the user can interact with. The user usu-
ally clicks a button, but many other types of interactions are possible. For example,
something can happen when the user rolls the mouse over a button.
Buttons are a kind of symbol that have four special states, or keyframes, that
determine how the button appears. Buttons can look like virtually anything—
an image, graphic, or a bit of text—they don’t have to be those typical pill-shaped,
gray rectangles that you see on many Web sites.
Creating a button symbol
In this lesson, you’ll create buttons with small thumbnail images and restaurant
names. A button symbol’s four special states include the following:
• Up state. Shows the button as it appears when the mouse is not interacting
with it.
• Over state. Shows the button as it appears when the mouse is hovering over it.
• Down state. Shows the button as it appears when the mouse button is depressed.
• Hit state. Indicates the clickable area of the button.
You’ll understand the relationship between these states and the button appearance
as you work through this exercise.
1 Choose Insert > New Symbol.
2 In the Create New Symbol dialog box, select Button and name the symbol gabel
loffel button. Click OK.
Flash brings you to symbol-editing mode for your new button.
Adobe FLAsh ProFessIonAL Cs6 CLAssroom In A book
207