Add And Name A Button Component - MACROMEDIA FLASH 8-FLASH Tutorials Manual

Hide thumbs Also See for FLASH 8-FLASH:
Table of Contents

Advertisement

100 Basic Tasks: Create an Application
Add and name a Button
component
Components are movie clips that offer an easy way of adding advanced
functionality to your document without having to know advanced
ActionScript. You'll use the Button component to create a Calculate button
that totals prices. Because the component you're using is based onv
ActionScript 2.0, you first need to configure your Publish Settings dialog
box to ensure your Flash content plays as expected.
1.
Select File > Publish Settings.
2.
On the Flash tab of the Publish Settings dialog box, select ActionScript
2.0 in the ActionScript Version pop-up menu, if it's not already
selected.
3.
In the Timeline, click the Components layer to select it.
4.
From the Components panel (Window > Components), drag the
Button component to the Stage and place it over the Calculate guide.
5.
On the Parameters tab of the Property inspector, with the Button
component selected, click the Button text on the Label row, and type
Calculate. Then press Enter or Return.
The text that you type in the Label text box is the text that appears on
the component.
6.
In the Instance Name text box, enter calculate to provide the button
with an instance name.

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-FLASH and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF