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 (
(
). This property is read-only for the MediaDisplay and MediaPlayback components, and
false
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
no FLV media is set.
Media components (Flash Professional only)
) or paused
true
if
undefined
531
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?
Questions and answers