Visit SlideShowPro.net  Community Forums
SlideShowPro Help Wiki
  

Products

SlideShowPro for Flash

SlideShowPro for Lightroom

SlideShowPro Standalone

SlideShowPro Director

SlideShowPro Director Hosting

ThumbGrid

Additional support

  1. Community forums
  2. Email support staff

Company

  1. Products
  2. About SlideShowPro
  3. News
  4. Follow SlideShowPro on Twitter

SlideShowPro for Flash

onLoadXML()

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


Page last modified by tdominey on April 17, 2008, at 06:29 AM
© 2010 Dominey Design Inc. All Rights Reserved.
About | Merchandise | Contact | Privacy policy | Legal | Licensing