![MACROMEDIA FLASH 8-FLASH Скачать руководство пользователя страница 250](http://html2.mh-extra.com/html/macromedia/flash-8-flash/flash-8-flash_tutorials-manual_3348958250.webp)
250 ActionScript: Create a Form with Conditional Logic and Send Data
4.
Click in the Script pane of the Actions panel, and type the following
comment:
// Stops the playhead at Frame 1
.
Press Enter (Windows) or Return (Macintosh).
5.
Type
stop()
;
to add the stop action.
Add frame labels for navigation
When the viewer presses the Submit button, you want Flash to jump to
either the error message or the confirmation message, depending on what is
entered in the text field. Labeling a frame helps you reference it in
ActionScript easily. This is helpful for sending the playhead to a
specific frame.
Next, you’ll add frame labels to help you navigate your Flash application.
1.
Add a keyframe (Insert > Timeline > Keyframe) to Frame 5 of the
Actions layer.
2.
In the Property inspector, type
error
in the Frame Label text box.
Press Enter (Windows) or Return (Macintosh). The label text and a
flag appear in Frame 5 of the Timeline.
3.
Add a keyframe to Frame 10 of the Actions layer.
In the Property inspector, type
confirm
in the Frame Label text box.
Press Enter or Return.
Содержание FLASH 8-FLASH
Страница 1: ...Flash Tutorials...
Страница 10: ...10 Contents...
Страница 12: ...12 Introduction...
Страница 42: ...42 Basic Tasks Creating a banner Part 1...
Страница 78: ...78 Basic Tasks Creating a banner Part 3...
Страница 88: ...88 Basic Tasks Create Accessible Flash Content...
Страница 106: ...106 Basic Tasks Create an Application...
Страница 116: ...116 Basic Tasks Use Layout Tools...
Страница 124: ...124 Basic Tasks Create Symbols and Instances...
Страница 134: ...134 Basic Tasks Add Button Animation and Navigation...
Страница 144: ...144 Basic Tasks Create a Presentation with Screens Flash Professional Only...
Страница 192: ...192 Creating Graphics Applying Gradients...
Страница 198: ...198 Creating Graphics Apply Graphic Filters and Blends Flash Professional Only...
Страница 224: ...224 ActionScript Use Script Assist mode...
Страница 268: ...268 ActionScript Work with Objects and Classes...
Страница 270: ...270 Data Integration Overview Flash Professional Only...