Add A Submit Button To The Form; Add An Error Message - MACROMEDIA FLASH MX 2004-LEARNING FLASH Manual

Learning flash
Table of Contents

Advertisement

Add a Submit button to the form

The Library panel contains a Submit button symbol that you will add to the form.
From the Library panel (Window > Library), drag the Submit button to the Stage and place it
1.
over the SubmitURL guide.
Drag the button or use the arrows keys to adjust the position, if necessary.
2.
In the Property inspector, type submit_btn in the Instance Name text box.
3.

Add an error message

You'll add a message to display if the user clicks the Submit button before entering data.
In the Timeline, with the Branding layer selected, click the Insert Layer button and name the
1.
layer Dialog Boxes.
Select Frame 5 of the Dialog Boxes layer. Right-click (Windows) or Control-click (Macintosh)
2.
the selected layer and select Insert Blank Keyframe from the context menu.
From the Library panel, drag the Dialog Box-error movie clip to the center of the Stage.
3.
In the Timeline, select Frame 5 of the Buttons layer. Drag the Try Again Button symbol from
4.
the Library panel to the Stage, placing the button below the error message text.
With the button still selected, in the Property inspector, enter tryAgain_btn in the Instance
5.
Name text box.
Add an error message
107

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents