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

onGalleryInfo()

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


Page last modified by tdominey on August 20, 2009, at 10:24 AM
© 2010 Dominey Design Inc. All Rights Reserved.
About | Merchandise | Contact | Privacy policy | Legal | Licensing