
listenerObject = new Object();
listenerObject.onAlbumData = function(eventObject):Void {
// Insert your code here.
}
slideShowProInstance.addEventListener("onAlbumData", listenerObject);
Event; broadcast to all registered listeners when an album is loaded. The event object (eventObject) contains the following properties.
The following example sends the description of the loaded album to the Output panel:
listenerObject = new Object();
listenerObject.onAlbumData = function(eventObject):Void {
trace(eventObject.data.description);
}
my_ssp.addEventListener("onAlbumData", listenerObject);