
listenerObject = new Object();
listenerObject.onImageZone = function(eventObject):Void {
// Insert your code here.
}
slideShowProInstance.addEventListener("onImageZone", listenerObject);
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.
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);