User Guide

Media components (Flash Professional only) 531
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
Media.preferredHeight
Applies to
MediaDisplay, MediaPlayback
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
myMedia.preferredHeight
Description
Property; set according to a FLV file’s default height value. This property applies only to FLV
media, because the height is fixed for MP3 files. This property can be used to set the height and
width properties (plus some margin for the component itself). The default value is
undefined if
no FLV media is set.