MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 675

Components language reference
Table of Contents

Advertisement

FLVPlayback.skinError
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
var listenerObject:Object = new Object();
listenerObject.skinError = function(eventObject:Object):Void {
// insert event-handling code here
};
my_FLVplybk.addEventListener("skinError", listenerObject);
Description
Event; dispatched when an error occurs loading a skin SWF file. The event has a
property that contains the error message.
Example
The following example attempts to load the
file and shows the content of the event
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.skinError = function(eventObject:Object):Void {
trace(eventObject.message);
}
my_FLVPlybk.addEventListener("skinError", listenerObject);
my_FLVPlybk.contentPath = "http://www.helpexamples.com/flash/video/
cuepoints.flv";
my_FLVPlybk.skin = "NoSuchSkin.swf";
See also
,
FLVPlayback.skin
message
FLVPlayback.skinLoaded
property with the name of a fictitious skin
skin
property when the
message
event occurs.
skinError
FLVPlayback class
673

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents