Media.play()

Applies to

MediaDisplay, MediaPlayback.

Availability

Flash Player 7.

Edition

Flash MX Professional 2004.

Usage

myMedia.play(startingPoint)

Parameters

startingPoint A non-negative integer that indicates the starting point (in seconds) at which the media should begin playing.

Returns

Nothing.

Description

Method; plays the media associated with the component instance at the given starting point. The default value is the current value of playheadTime.

Example

The following code indicates that the media component should start playing at 120 seconds:

myMedia.play(120);

See also

Media.pause()


Flash CS3