Add A Confirmation Message; Add A Stop() Action - MACROMEDIA FLASH MX 2004-LEARNING FLASH Manual

Learning flash
Table of Contents

Advertisement

Add a confirmation message

Next, you'll add a message to display when the user submits an entry in the text field.
In the Dialog Boxes layer, select Frame 10. Right-click (Windows) or Control-click
1.
(Macintosh) the selected frame and select Insert Blank Keyframe from the context menu.
From the Library panel, drag the Dialog Box-confirm movie clip to the center of the Stage.
2.
Close the Library panel.
3.

Add a stop() action

When a Flash application loads in Flash Player, it automatically plays in a continuous loop. You
use ActionScript to control playhead movement in a Timeline. You will add a
the first frame of your application so the user can make an entry in the input text field.
In the Timeline, with the Input Text layer selected, add a new layer and name it Actions.
1.
Select Frame 1 of the Actions layer.
2.
In the Actions panel (Window > Development Panels > Actions), verify that Frame 1 is selected.
3.
Click in the Script pane of the Actions panel, and type the following comment:
4.
playhead at Frame 1
Type
; to add the stop action.
5.
stop()
108
Chapter 14: Create a Form with Conditional Logic and Send Data
. Press Enter or Return.
action in
stop()
//Stops the

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-LEARNING FLASH and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents