Add an input text field to collect form data

You'll start by inserting a text field in your document in which viewers can enter data. You will also name the text field so you can later reference the text field as you use ActionScript in your Flash application.

  1. Click in the work area, away from objects on the Stage, so that no objects are selected.
  2. In the toolbar, select the Text tool.
  3. In the Property inspector, do the following to set text attributes:
  4. In the Timeline, select Frame 1 of the Input Text layer.
  5. On the Stage, drag the Text tool to create an input text field to the right of the http:// text.

  6. If necessary, use the Selection tool to drag the text field or use the arrows keys to adjust the position.
  7. With the input text field still selected, in the Property inspector, type url_txt in the Instance Name text box.

    You'll refer to the instance name later when you add ActionScript.