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.
Summary of Contents for FLASH 8-FLASH
Page 1: ...Flash Tutorials...
Page 10: ...10 Contents...
Page 12: ...12 Introduction...
Page 42: ...42 Basic Tasks Creating a banner Part 1...
Page 78: ...78 Basic Tasks Creating a banner Part 3...
Page 88: ...88 Basic Tasks Create Accessible Flash Content...
Page 106: ...106 Basic Tasks Create an Application...
Page 116: ...116 Basic Tasks Use Layout Tools...
Page 124: ...124 Basic Tasks Create Symbols and Instances...
Page 134: ...134 Basic Tasks Add Button Animation and Navigation...
Page 144: ...144 Basic Tasks Create a Presentation with Screens Flash Professional Only...
Page 192: ...192 Creating Graphics Applying Gradients...
Page 198: ...198 Creating Graphics Apply Graphic Filters and Blends Flash Professional Only...
Page 224: ...224 ActionScript Use Script Assist mode...
Page 268: ...268 ActionScript Work with Objects and Classes...
Page 270: ...270 Data Integration Overview Flash Professional Only...