play()
Availability
Flash 2.
Usage
play()
Parameters
None.
Returns
Nothing.
Description
Function; moves the playhead forward in the Timeline.
Example
The following code uses an
enters
, the
Steve
user enters anything other than
variable name
alert
stop();
if (name == "Steve") {
play();
} else {
alert="You are not Steve!";
}
prevFrame()
Availability
Flash 2.
Usage
prevFrame()
Parameters
None.
Returns
Nothing.
Description
Function; sends the playhead to the previous frame and stops it. If the current frame is Frame 1,
the playhead does not move.
590
Chapter 12: ActionScript Dictionary
statement to check the value of a name the user enters. If the user
if
action is called and the playhead moves forward in the Timeline. If the
play()
, the SWF file does not play and a text field with the
Steve
is displayed.
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?