prevFrame()
Availability
Flash 2.
Usage
prevFrame() : Void
Parameters
None.
Returns
Nothing.
Description
Function; sends the playhead to the previous frame. If the current frame is Frame 1, the playhead
does not move.
Example
When the user clicks a button called
frame in the Timeline for that button, the playhead is sent to the previous frame:
stop();
this.myBtn_btn.onRelease = function(){
prevFrame();
};
See also
MovieClip.prevFrame(),
ActionScript Language Reference
and the following ActionScript is placed on a
myBtn_btn
nextFrame()
CHAPTER 2
prevFrame()
689
Need help?
Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?
Questions and answers