![MACROMEDIA FLASH MX 2004-LEARNING FLASH Скачать руководство пользователя страница 108](http://html1.mh-extra.com/html/macromedia/flash-mx-2004-learning-flash/flash-mx-2004-learning-flash_manual_3379009108.webp)
108
Chapter 14: Create a Form with Conditional Logic and Send Data
Add a confirmation message
Next, you’ll add a message to display when the user submits an entry in the text field.
1.
In the Dialog Boxes layer, select Frame 10. Right-click (Windows) or Control-click
(Macintosh) the selected frame and select Insert Blank Keyframe from the context menu.
2.
From the Library panel, drag the Dialog Box-confirm movie clip to the center of the Stage.
3.
Close the Library panel.
Add a stop() action
When a Flash application loads in Flash Player, it automatically plays in a continuous loop. You
use ActionScript to control playhead movement in a Timeline. You will add a
stop()
action in
the first frame of your application so the user can make an entry in the input text field.
1.
In the Timeline, with the Input Text layer selected, add a new layer and name it
Actions
.
2.
Select Frame 1 of the Actions layer.
3.
In the Actions panel (Window > Development Panels > Actions), verify that Frame 1 is selected.
4.
Click in the Script pane of the Actions panel, and type the following comment:
//Stops the
playhead at Frame 1
. Press Enter or Return.
5.
Type
stop()
;
to add the stop action.
Содержание 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...