![MACROMEDIA FLASH MX 2004-LEARNING FLASH Скачать руководство пользователя страница 107](http://html1.mh-extra.com/html/macromedia/flash-mx-2004-learning-flash/flash-mx-2004-learning-flash_manual_3379009107.webp)
Add an error message
107
Add a Submit button to the form
The Library panel contains a Submit button symbol that you will add to the form.
1.
From the Library panel (Window > Library), drag the Submit button to the Stage and place it
over the SubmitURL guide.
2.
Drag the button or use the arrows keys to adjust the position, if necessary.
3.
In the Property inspector, type
submit_btn
in the Instance Name text box.
Add an error message
You’ll add a message to display if the user clicks the Submit button before entering data.
1.
In the Timeline, with the Branding layer selected, click the Insert Layer button and name the
layer
Dialog Boxes
.
2.
Select Frame 5 of the Dialog Boxes layer. Right-click (Windows) or Control-click (Macintosh)
the selected layer and select Insert Blank Keyframe from the context menu.
3.
From the Library panel, drag the Dialog Box-error movie clip to the center of the Stage.
4.
In the Timeline, select Frame 5 of the Buttons layer. Drag the Try Again Button symbol from
the Library panel to the Stage, placing the button below the error message text.
5.
With the button still selected, in the Property inspector, enter
tryAgain_btn
in the Instance
Name text box.
Содержание 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...