User Guide
Media components (Flash Professional only) 507
MediaDisplay parameters
MediaController parameters
Name Type Default value Description
Automatically Play
(
Media.autoPlay)
Boolean Selected Determines if the media plays as soon as it
has loaded.
Use Preferred Media Size
(
Media.autoSize)
Boolean Selected Determines whether the media associated
with the MediaDisplay instance conforms to
the component size or simply uses its
default size.
FPS Integer 30 Indicates the number of frames per second.
When the Milliseconds option is selected,
this control is disabled.
Cue Points
(
Media.cuePoints)
Array Undefined An array of cue point objects, each with a
name and position in time in a valid
HH:MM:SS:FF (Milliseconds option
selected) or HH:MM:SS:mmm format.
FLV or MP3
(
Media.mediaType)
FLV or
MP3
FLV
Designates the type of media to be played.
Milliseconds Boolean Unselected Determines whether the playbar uses frames
or milliseconds, and whether the cue points
use seconds or frames. When this option is
selected, the FPS control is not visible.
URL (
Media.contentPath) String Undefined A string that holds the path and filename of
the media to be played.
Video Length
(
Media.totalTime)
Integer Undefined The total time needed to play the FLV media.
This setting is required in order for the
playbar to work correctly. This control is only
visible when the media type is set to FLV.
Name Type Default value Description
activePlayControl
(
Media.activePlayControl)
String:
pause or
play
pause
Determines whether the playbar is in play or
pause mode upon instantiation. This mode
determines the image displayed on the Play/
Pause button, which is the opposite of the
playing/paused state that the controller is
actually in.
backgroundStyle
(
Media.backgroundStyle)
string:
default
or
none
default
Determines whether the chrome
background will be drawn for the
MediaController instance.
controllerPolicy
(
Media.controllerPolicy)
auto, on,
or
off
auto
Determines whether the controller opens or
closes according to mouse position, or is
locked in the open or closed state.