Visit SlideShowPro.net  Community Forums
SlideShowPro Help Wiki
Recent changes / Search

SlideShowPro for Flash

SlideShowPro for Lightroom

SlideShowPro Standalone

SlideShowPro Director

SlideShowPro Director Hosting

ThumbGrid

Page last modified by tdominey on April 17, 2008, at 06:29 AM

Usage

listenerObject = new Object();
listenerObject.onLoadXML = function(eventObject):Void {
	// Insert your code here.
}
slideShowProInstance.addEventListener("onLoadXML", listenerObject);

Description

Event; broadcast to all registered listeners when an XML file is loaded. The event object (eventObject) contains a Boolean property (false, true) to indicate whether an XML file was found.

Example

The following example sends an error message to the Output panel if an XML file was not found:

listenerObject = new Object();
listenerObject.onLoadXML = function(eventObject):Void {
	if (eventObject.data == false) {
		trace("XML file not found");
	}
}
my_ssp.addEventListener("onLoadXML", listenerObject);


© 2010 Dominey Design Inc. All Rights Reserved.
About | Merchandise | Contact | Privacy policy | Legal | Licensing