Flash CS3 Documentation |
|||
| ActionScript 2.0 Components Language Reference > Media components > Media.controllerPolicy | |||
MediaController, MediaPlayback.
Flash Player 7.
Flash MX Professional 2004.
myMedia.controllerPolicy
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. |
NOTE |
|
The hit area expands and contracts with the controller. |
The following example keeps the controller open at all times:
myMedia.controllerPolicy ="on";
Flash CS3