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

SlideShowPro for Flash
onGalleryInfo()
Page last modified by tdominey on August 20, 2009, at 10:24 AM

Usage

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

Description

Event; broadcast to all registered listeners when gallery data is parsed.

The event object (eventObject) contains the following properties:

title
(String) The title of the gallery
description
(String) The description of the gallery

Example

The following example sends the title of the gallery to the Output panel:

listenerObject = new Object();
listenerObject.onGalleryInfo = function(eventObject):Void {
	trace(eventObject.data.title);
}
my_ssp.addEventListener("onGalleryInfo", listenerObject);


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