A-C > _currentframe

_currentframe

Syntax

instancename._currentframe

Arguments

instancename The name of a movie clip instance.

Description

Property (read-only); returns the number of the frame where the playhead is currently located in the Timeline.

Player

Flash 4 or later.

Example

The following example uses _currentframe to direct a movie to go five frames ahead of the frame containing the action:

gotoAndStop(_currentframe + 5);