
listenerObject = new Object();
listenerObject.onVideoPreviewLoad = function():Void {
// Insert your code here.
}
slideShowProInstance.addEventListener("onVideoPreviewLoad", listenerObject);
Event; broadcast to all registered listeners when a preview image for a video is loaded and displayed.
The following traces a confirmation message to the Output panel when the video preview image loads:
listenerObject = new Object();
listenerObject.onVideoPreviewLoad = function():Void {
trace("Video preview image has loaded");
}
my_ssp.addEventListener("onVideoPreviewLoad", listenerObject);