Flash CS3 Documentation |
|||
| ActionScript 2.0 Components Language Reference > Media components > Media.playheadTime | |||
MediaDisplay, MediaPlayback.
Flash Player 7.
Flash MX Professional 2004.
myMedia.playheadTime
Property; holds the current position of the playhead (in seconds) for the media timeline that is playing. The default value is the location of the playhead.
The following example sets a variable to the location of the playhead, which is indicated in seconds:
var myPlayhead:Number = myMedia.playheadTime;
Flash CS3