Table of Contents

MovieClip._currentframe Property Flash 4

the frame number of the playhead of a clip or movie read-only
mc._currentframe

Description

The integer _currentframe property represents the frame number at which the playhead of mc currently resides. Note that the first frame is 1, not 0; therefore, _currentframe ranges from 1 to mc._totalframes.

Example

// Send the playhead backward two frames from its current location
this.gotoAndStop(this._currentframe - 2);

See Also

MovieClip.gotoAndPlay( ), MovieClip.gotoAndStop( ), MovieClip._totalframes


Table of Contents