ActionScript 2.0 Components Language Reference |
|
|
|
| FLVPlayback Component > FLVPlayback class > FLVPlayback.skinAutoHide | |||
Flash Player 8.
Flash Professional 8.
my_FLVplybk.skinAutoHide
Property; a Boolean value that, if true, hides the component skin when the mouse is not over the video. This property affects only skins that are loaded by setting the skin property and not a skin that you create from the FLV Playback Custom UI components. Defaults to false.
The following example sets the skinAutoHide property to true so the component skin, which includes the playback controls, does not appear unless the mouse is over the video.
Drag an FLVPlayback component to the Stage, and give it an instance name of my_FLVPlybk. Select a skin in the Component inspector. Then add the following code to the Actions panel on Frame 1 of the Timeline:
/** Requires: - FLVPlayback component on the Stage with an instance name of my_FLVPlybkh */ import mx.video.*; my_FLVPlybk.skinAutoHide = true; my_FLVPlybk.contentPath = "http://www.helpexamples.com/flash/video/water.flv";
FLVPlayback.bufferingBarHidesAndDisablesOthers, FLVPlayback.skin
|
|
|
|