Flash 8 Documentation |
|||
| ActionScript 2.0 Language Reference > ActionScript language elements > Global Functions > 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 Player 2
When the user clicks a button called myBtn_btn and the following ActionScript is placed on a frame in the Timeline for that button, the playhead is sent to the previous frame:
stop();
this.myBtn_btn.onRelease = function(){
prevFrame();
};
nextFrame function, prevFrame (MovieClip.prevFrame method)
Version 8
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/8/main/00001758.html