User Guide

528 Chapter 6: Components Dictionary
Edition
Flash MX Professional 2004.
Usage
myMedia.mediaType
Description
Property; indicates the type of media (FLV or MP3) to be played. The default value is "FLV". See
“Importing Macromedia Flash Video (FLV) files” in Using Flash.
Example
The following example determines the current media type being played:
var currentMedia = myMedia.mediaType;
See also
Media.setMedia()
Media.pause()
Applies to
MediaDisplay, MediaPlayback
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
myMedia.pause()
Parameters
None.
Returns
Nothing,
Description
Method; pauses the playhead at the current location.
Example
The following code pauses the playback.
myMedia.pause();