Media.playing

Applies to

MediaDisplay, MediaPlayback, MediaController.

Availability

Flash Player 7.

Edition

Flash MX Professional 2004.

Usage

myMedia.playing

Description

Property; returns a Boolean value that indicates whether the media is playing (true) or paused (false). This property is read-only for the MediaDisplay and MediaPlayback components, and read/write for the MediaController component.

Example

The following code determines if the media is playing or paused:

if(myMedia.playing == true){
  some function;
}

See also

Media.change


Flash CS3