![MACROMEDIA FLASH 8-FLASH Скачать руководство пользователя страница 245](http://html2.mh-extra.com/html/macromedia/flash-8-flash/flash-8-flash_tutorials-manual_3348958245.webp)
245
21
CHAPTER 21
ActionScript: Create a Form with
Conditional Logic and Send Data
You can create a form with conditional logic that allows the SWF file to
respond to user interaction and send the form data from the SWF file to an
external source. This tutorial shows you how to create a simple form.
Before taking this lesson, you should be familiar with writing functions
and variables; to learn about these, select Help > Flash Tutorials > Basic
Tasks: Create an Application.
You can print this tutorial by downloading a PDF version of it from the
Macromedia Flash Documentation page at
www.macromedia.com/go/
fl_documentation
.
In this tutorial, you will complete the following tasks:
Set up your workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
Add an input text field to collect form data . . . . . . . . . . . . . . . . . . 246
Add a Submit button to the form . . . . . . . . . . . . . . . . . . . . . . . . . . .247
Add an error message. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
Add a confirmation message. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
Add a stop() action. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
Add frame labels for navigation . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
Add conditional logic for the Submit button. . . . . . . . . . . . . . . . . . 251
Pass data out of a SWF file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
Write a function for the Try Again button . . . . . . . . . . . . . . . . . . . 253
Test your SWF file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253
Содержание 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...