User Guide

Media.mediaType 869
Usage
myMedia.horizontal
Description
Property; determines whether the MediaController component displays itself in a vertical or
horizontal orientation. A
true value indicates that the component is displayed in a horizontal
orientation; a
false value indicates a vertical orientation. When set to false, the playbar and
playback slider move from bottom to top. The default value is
true.
Example
The following example displays the MediaController component in a vertical orientation:
myMedia.horizontal = false;
Media.mediaType
Applies to
MediaDisplay, MediaPlayback.
Availability
Flash Player 7.
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 “Working with Video” in Using Flash.
Example
The following example determines the current media type being played:
var currentMedia:String = myMedia.mediaType;
See also
Media.setMedia()