« Back to slideshowpro.net
SlideShowPro Help Wiki
Recent changes / Search

SlideShowPro for Flash

SlideShowPro for Lightroom

SlideShowPro Director

SlideShowPro Director Hosting

SlideShowPro ThumbGrid

Extras

Screencasts

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);


© 2008 Dominey Design Inc. All Rights Reserved.
About | Contact | Privacy policy | License agreements