Prevframe() - MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 1.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

Example
The following example uses an
If the user enters
Steve
timeline. If the user enters anything other than
field with the variable name
stop();
if (name == "Steve") {
play();
} else {
alert="You are not Steve!";
}

prevFrame()

Availability
Flash Lite 1.0.
Usage
prevFrame()
Operands
None.
Description
Function; sends the playhead to the previous frame and stops it. If the current frame is Frame
1, the playhead does not move.
Example
When the user clicks a button that has the following handler attached to it, the playhead is
sent to the previous frame:
on(release) {
prevFrame();
}
See also
nextFrame()
statement to check the value of a name that the user enters.
if
, the
function is called, and the playhead moves forward in the
play()
appears.
alert
, the SWF file does not play, and a text
Steve
prevFrame()
35

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents