« 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 December 05, 2008, at 03:43 PM

Event Object Type: net.slideshowpro.slideshowpro.SSPDataEvent
SSPDataEvent.type property = net.slideshowpro.slideshowpro.SSPDataEvent.ALBUM_DATA
Language Version: ActionScript 3.0
Player Version: Flash Player 9.0.0.0

Dispatched immediately after an album is requested. Contains data about the album being loaded.

Properties

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.
dataAn object containing data for the current album


The data object contains the following properties:

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

Example

The following traces how many images are in the current album:

import net.slideshowpro.slideshowpro.*;
function onSlideShowData(event:SSPDataEvent) {
	if (event.type=="albumData") {
		trace("total images: " + event.data.totalImages);	
	}
}
my_ssp.addEventListener(SSPDataEvent.ALBUM_DATA, onSlideShowData);

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