_currentframe

Availability

Flash Lite 1.0.

Usage

my_mc:_currentframe

Description

Property (read-only); returns the number of the frame in which the playhead is located in the timeline that the my_mc variable specifies.

Example

The following example uses the _currentframe property and the gotoAndStop() function to direct the playhead of the my_mc movie clip to advance five frames ahead of its current location:

tellTarget("my_mc") {
    gotoAndStop(_currentframe + 5);
}

See also

gotoAndStop()