You're familiar with input text if you've ever bought anything online: Chances are you had to type your name, address, and credit card information into input text fields created in either HTML or Flash. The input text fields you create in Flash let you gather information from your audience and then process it, either inside Flash (using ActionScript) or by sending it to a server-side program for processing.
The steps you need to take to exchange, or integrate, data with other programs is so program-and computer-dependent that they can't be covered here. Instead, this section shows you how to create input text elements and access the data your audience types in. For more on how to get that data to your server, check out Flash Help and the other resources discussed in the Appendix.
You create an input text field in Flash using the Text tool, similar to the way you create static and dynamic text. Then, by setting a few options in the Property Inspector, you can let your audience type their own text. You access that text using ActionScript. The following steps show how.
The InputText and InputTextArea components that Flash offers are similar in some ways to the input text element, or field, you create using the Text tool, but the components are a bit more powerful and a bit more difficult to use. Check out Chapter 12 for details on these (and other) components.
Open the file input_text.fla.
You can find all the files you need for this example—unfinished (input_text.fla) ...