Flash CS3 Documentation |
|||
| ActionScript 2.0 Language Reference > ActionScript classes > MovieClip > _currentframe (MovieClip._currentframe property) | |||
public _currentframe : Number [read-only]
Returns the number of the frame in which the playhead is located in the movie clip's timeline.
Availability: ActionScript 1.0; Flash Player 4
The following example uses the _currentframe property to direct the playhead of the actionClip_mc movie clip to advance five frames ahead of its current location:
actionClip_mc.gotoAndStop(actionClip_mc._currentframe + 5);
Flash CS3
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/9.0/main/00001903.html