« 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 April 24, 2008, at 10:44 AM

Usage

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

Description

Event; broadcast to all registered listeners when an image is loaded.

The event object (eventObject) contains the following properties:

caption
(String) The caption of the current image
link
(String) The hyperlink of the current image
number
(Number) The image's numerical position
pause
(Number) The imagePause XML override value of the current image
src
(String) The file name of the current image
target
(String) The hyperlink target of the current image
tn
(String) The image's thumbnail URL

Example

The following example sends the caption of the loaded image to the Output panel:

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


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