FLVPlayback.skin

Availability

Flash Player 8.

Edition

Flash Professional 8.

Usage

my_FLVPlybk.skin

Description

Property; a string that specifies the URL to a skin SWF file. This string could contain a file name, a relative path such as FLVPlayback Skins/ActionScript 2.0/my_Skin.swf, or an absolute URL such as http://www.myskins.org/MySkin.swf.

Example

The following example applies the skin ArcticExternal.swf to an instance of the FLVPlayback component.

Drag an FLVPlayback component to the Stage, and give it an instance name of my_FLVPlybk. Copy the ArcticExternalAll.swf file from the Flash CS3 application Configuration/FLVPlayback Skins/ActionScript 2.0 folder to your working folder. 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.skin = "ArcticExternalAll.swf";
my_FLVPlybk.contentPath = "http://www.helpexamples.com/flash/video/water.flv";

See also

FLVPlayback.bufferingBarHidesAndDisablesOthers, FLVPlayback.skinAutoHide, FLVPlayback.skinError, FLVPlayback.skinLoaded