FLVPlayback.skinAutoHide

Availability

Flash Player 8.

Edition

Flash Professional 8.

Usage

my_FLVplybk.skinAutoHide

Description

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.

Example

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";

See also

FLVPlayback.bufferingBarHidesAndDisablesOthers, FLVPlayback.skin