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 afrmx on March 04, 2009, at 04:28 AM

Usage

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

Description

Event; broadcast to all registered listeners when an album is loaded. The event object (eventObject) contains the following properties.

id
(String) The ID of the current album
description
(String) The description of the current album
lgpath
(String) The lgpath attribute of the current album
tnpath
(String) The tnpath attribute of the current album
title
(String) The title of the current album
tn
(String) The thumbnail file path for the current album
totalImages
(Number) The total number of images in the current album

Example

The following example sends the description of the loaded album to the Output panel:

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

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