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 tdominey on March 02, 2009, at 08:34 AM

Usage

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

Description

Event; broadcast to all registered listeners when a mouse hovers over the content area. The event object (eventObject) contains the content area "zone" that is being hovered over. Returns "previous", "action" or "next".

"previous" is dispatched when the mouse hovers over the left side of the content area, and "next" when the mouse hovers over the right. Both of these are only broadcasted when contentAreaInteractivity is set to "Action Area and Navigation". "action" is dispatched when the mouse hovers over the center area, and is broadcasted in both "Action Area and Navigation" and "Action Area Only" settings for contentAreaInteractivity.

Example

The following example traces to the Output panel which zone is being hovered over:

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


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