May 2001
Intermediate to advanced
720 pages
23h 24m
English
MovieClip._currentframe Property — the frame number of the playhead of a clip or movie
Flash 4 and later
mc._currentframe
Read-only
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.
// Send a playhead back two frames from its current location gotoAndStop(_currentframe - 2);
MovieClip.gotoAndPlay( ),
MovieClip.gotoAndStop( )
Read now
Unlock full access