![MACROMEDIA FLASH MX 2004-LEARNING FLASH Скачать руководство пользователя страница 106](http://html1.mh-extra.com/html/macromedia/flash-mx-2004-learning-flash/flash-mx-2004-learning-flash_manual_3379009106.webp)
106
Chapter 14: Create a Form with Conditional Logic and Send Data
Note:
The BasicActionScript\finished_files folder contains completed versions of lesson FLA
files, for your reference.
2.
Select File > Save As and save the document with a new name, in the same folder, to preserve
the original start file.
3.
Select Window > Panel Sets > Training Layout to modify your workspace for taking lessons.
4.
If necessary, drag the lower edge of the Timeline (Window > Timeline) down to enlarge the
Timeline view.
Add an input text field to collect form data
You’ll start by inserting a text field in your document in which viewers can enter data. You will
also name the text field so you can later reference the text field as you use ActionScript in your
Flash application.
1.
Click in the work area, away from objects on the Stage, so that no objects are selected.
2.
In the Tools panel, select the Text tool.
3.
In the Property inspector, do the following to set text attributes:
■
Select Input Text from the Text Type pop-up menu.
■
Select _sans from the Font pop-up menu.
■
Enter
10
in the Font Size text box.
■
Click the text color box and select a shade of dark blue.
■
Verify that Align Left is selected.
■
Verify that Single Line is selected in the Line Type pop-up menu.
4.
In the Timeline, select Frame 1 of the Input Text layer.
5.
On the Stage, drag the Text tool to create an input text field to the right of the http:// text.
6.
If necessary, use the Selection tool to drag the text field or use the arrows keys to adjust
the position.
7.
With the input text field still selected, in the Property inspector, type
url_txt
in the Instance
Name text box.
You’ll refer to the instance name later when you add ActionScript.
Содержание FLASH MX 2004-LEARNING FLASH
Страница 1: ...Learning Flash...
Страница 8: ...8 Contents...
Страница 34: ...34 Chapter 3 Write Scripts with ActionScript...
Страница 54: ...54 Chapter 6 Create a User Interface with Layout Tools...
Страница 62: ...62 Chapter 7 Draw in Flash...
Страница 68: ...68 Chapter 8 Create Symbols and Instances...
Страница 76: ...76 Chapter 9 Add Animation and Navigation to Buttons...
Страница 104: ...104 Chapter 13 Add Interactivity with ActionScript...
Страница 112: ...112 Chapter 14 Create a Form with Conditional Logic and Send Data...
Страница 122: ...122 Chapter 15 Work with Objects and Classes Using ActionScript 2 0...