MovieClip._currentframe

Availability

Flash Player 4.

Usage

my_mc._currentframe

Description

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

Example

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

actionClip_mc.gotoAndStop(_currentframe + 5);