M > MovieClip._currentframe

 

MovieClip._currentframe

Availability

Flash Player 4.

Usage

myMovieClip._currentframe

Description

Property (read-only); returns the number of the frame in which the playhead is located in the Timeline specified by MovieClip.

Example

The following example uses the _currentframe property to direct the playhead of the movie clip actionClip to advance five frames ahead of its current location.

actionClip.gotoAndStop(_currentframe + 5);