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

albumData

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

Page last modified by tdominey on March 03, 2009, at 02:49 PM
© 2010 Dominey Design Inc. All Rights Reserved.
About | Merchandise | Contact | Privacy policy | Legal | Licensing