First we need to create the form field variables. For this example, we will
create a mailing form. With he name, e-mail address, message text fields and
with two buttons; submit and clear.
Step 2:
Select the Text tool from the Tool menu and select the text field option.
Step 3:
Drag your mouse to the movie, click and drag to draw the text field. Make
them any size you please, you can resize them later.
Step 4:
Now we need to name the fields. Select the arrow tool and right click on
the text field. Select 'properties' from the drop down dialogue.
Step 5:
Now all you have to change is the 'Variable' option. You have to name all
the fields. For this tutorial, name them the following way:
Name = name
E-mail = mail
Message = message
Step 6:
You should have something looking like this:
Step 7:
Now we need to create the buttons. Select the text tool, drag it over the
movie and type in the words 'Submit' and 'Reset'.
Step 8:
Select them and make them symbols (F8). Don't forget to set the behavior
to 'button'.
Step 9:
Now we need to assign actions to the buttons. Double click the reset button
and go to the Actions tab.
Now enter the following options in the action field:
On (Release)
Set Variable: "name" = ""
Set Variable: "mail" = ""
Set Variable: "message" = ""
End On
Select the Submit button and enter the following fields: