Copy Input And Dynamic Text Fields; Name Text Fields - MACROMEDIA FLASH 8-FLASH Tutorials Manual

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

Advertisement

Copy input and dynamic text
fields
You'll use input text fields to create a form.
1.
Click the input text field where users enter the quantity of CD players.
Press Alt and drag the copy of the field down to the Shocks QTY area.
2.
Alt-click the input text field that you just dragged; then drag the new
copy of the field to the Cover QTY area.
3.
Alt-click the dynamic text field for the CD player's price; then drag the
copy of the field to the Shocks price area.
4.
Alt-click the field that you just dragged; then drag the copy to the Cover
price area.

Name text fields

Before you can specify values for the text fields in ActionScript, you first
need to give each text field an instance name in the Property inspector.
Appending the instance name with "txt" identifies the object as a
text object.
1.
Click the top input text field in the QTY column. In the Instance Name
text box of the Property inspector (Window > Properties), type
qty1_txt.
2.
Follow the previous procedure to name the middle and bottom input
text fields qty2_txt and qty3_txt, respectively.
3.
Click the top dynamic text field in the Price column. In the Instance
Name text box of the Property inspector, type price1_txt.
4.
Follow the previous procedure to name the middle and bottom text
fields in the column price2_txt and price3_txt, respectively.
Name text fields
99

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents