Flash Lite 1.x ActionScript Language Reference |
|
|
|
| Flash Lite Properties > _currentframe | |||
Flash Lite 1.0.
my_mc:_currentframe
Property (read-only); returns the number of the frame in which the playhead is located in the timeline that the my_mc variable specifies.
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);}
|
|
|
|