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