User Guide
674 FLVPlayback Component (Flash Professional Only)
FLVPlayback.skinLoaded
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
var listenerObject:Object = new Object();
listenerObject.skinLoaded = function(eventObject:Object):Void {
// insert event-handling code here
};
my_FLVplybk.addEventListener("skinLoaded", listenerObject);
Description
Event; dispatched when a skin SWF file is loaded. The component does not begin playing an
FLV file until the
ready and skinLoaded (or skinError) events have both started.
Example
The following example shows the name of the component’s skin when the skinLoaded
event starts.
Drag an FLVPlayback component to the Stage, and give it an instance name of
my_FLVPlybk. Then add the following code to Frame 1 of the Timeline:
/**
Requires:
- FLVPlayback component on the Stage with an instance name of my_FLVPlybkh
*/
import mx.video.*;
var listenerObject:Object = new Object();
listenerObject.skinLoaded = function(eventObject:Object):Void {
trace("Skin: " + eventObject.target.skin + " has loaded");
};
my_FLVPlybk.addEventListener("skinLoaded", listenerObject);
my_FLVPlybk.contentPath = "http://www.helpexamples.com/flash/video/
cuepoints.flv";
See also
FLVPlayback.addEventListener(), FLVPlayback.skin, FLVPlayback.skinError