prevFrame function
prevFrame() : Void
Sends the playhead to the previous frame. If the current frame is Frame 1, the playhead does
not move.
Availability: ActionScript 1.0; Flash Lite 1.0
Example
When the user clicks a button called
and the following ActionScript is placed on a
myBtn_btn
frame in the Timeline for that button, the playhead is sent to the previous frame:
stop();
this.myBtn_btn.onRelease = function(){
prevFrame();
};
See also
,
nextFrame function
prevFrame (MovieClip.prevFrame method)
prevScene function
prevScene() : Void
Sends the playhead to Frame 1 of the previous scene.
Availability: ActionScript 1.0; Flash Lite 1.0
See also
nextScene function
random function
random(value) : Number
Deprecated since Flash Player 5. This function was deprecated in favor of
.
Math.random()
Returns a random integer between 0 and one less than the integer specified in the
value
parameter.
Availability: ActionScript 1.0; Flash Lite 1.1
Parameters
- An integer.
value:Number
76
ActionScript language elements
Need help?
Do you have a question about the FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?