Flash Lite 2.x and 3.0 ActionScript Language Reference

prevFrame function

prevFrame() : Void

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 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();
};

See also

nextFrame function, prevFrame (MovieClip.prevFrame method)