Media.playheadTime

Applies to

MediaDisplay, MediaPlayback.

Availability

Flash Player 7.

Edition

Flash MX Professional 2004.

Usage

myMedia.playheadTime

Description

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.

Example

The following example sets a variable to the location of the playhead, which is indicated in seconds:

var myPlayhead:Number = myMedia.playheadTime;

Flash CS3