prevFrame()

Availability

Flash 2.

Usage

prevFrame()

Parameters

None.

Returns

Nothing.

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

MovieClip.prevFrame()