Flash CS3 Documentation |
|||
| ActionScript 2.0 Components Language Reference > Media components > Media.play() | |||
MediaDisplay, MediaPlayback.
Flash Player 7.
Flash MX Professional 2004.
myMedia.play(startingPoint)
startingPoint A non-negative integer that indicates the starting point (in seconds) at which the media should begin playing.
Nothing.
Method; plays the media associated with the component instance at the given starting point. The default value is the current value of playheadTime.
The following code indicates that the media component should start playing at 120 seconds:
myMedia.play(120);
Flash CS3