User Guide

Media.controllerPolicy 863
Media.controllerPolicy
Applies to
MediaController, MediaPlayback.
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
myMedia.controllerPolicy
Description
Property; determines whether the MediaController component (or the controller
subcomponent within the MediaPlayback component) is hidden when instantiated and only
appears when the user moves the mouse over the controller’s collapsed state.
The possible values for this property are as follows:
"on" specifies that the controls are always expanded.
"off" specifies that the controls are always collapsed.
"auto" (the default) specifies that the control remains in the collapsed state until the user
moves the mouse over the hit area. The hit area matches the area in which the collapsed
control is drawn. The control remains expanded until the mouse leaves the hit area.
Example
The following example keeps the controller open at all times:
myMedia.controllerPolicy = "on";
NOTE
The hit area expands and contracts with the controller.