Specifications
125
10
CHAPTER 10
Basic Tasks: Add Button 
Animation and Navigation 
A button is a symbol that contains special frames for different button states, 
such as when the user’s mouse pointer is over the button or when the user 
clicks the button. When you select the Button behavior for a new symbol, 
Macromedia Flash Basic 8 and Macromedia Flash Professional 8 create the 
Timeline for the button states. You can add navigation to buttons by using 
behaviors or by writing ActionScript. 
This tutorial teaches you about creating and modifying buttons, including 
adding animation to a button. 
You can print this tutorial by downloading a PDF version of it from the 
Macromedia Flash Documentation page at www.macromedia.com/go/
fl_documentation.
In this tutorial, you will complete the following tasks:
Create a button from grouped objects. . . . . . . . . . . . . . . . . . . . . . . 127
Name a button instance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
View the hit area by enabling buttons . . . . . . . . . . . . . . . . . . . . . . . 128
Change the hit area of a button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Align buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Create animation for a button state . . . . . . . . . . . . . . . . . . . . . . . . . 130
Add an action to a button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .131
Add navigation to a button. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Test the SWF file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
If you are not familiar with symbols and instances, before taking this lesson 
select Help > How Do I > Basic Flash > Create Symbols and Instances to 
take that lesson.










