
Event Object Type: net.slideshowpro.slideshowpro.SSPImageEvent
SSPImageEvent.type property = net.slideshowpro.slideshowpro.SSPImageEvent.IMAGE_CLICK
Language Version: ActionScript 3.0
Player Version: Flash Player 9.0.0.0
Dispatched when slideshow content is clicked by the viewer's mouse.
| Property | Value |
|---|---|
| bubbles | false |
| cancelable | false; there is no default behavior to cancel. |
| num | The numerical order of the content. |
| zone | The area within the content area that was clicked. Returns "previous", "action" or "next". |
"previous" is dispatched when the mouse clicks on the left side of the content area, and "next" when the mouse clicks on the right. Both of these are only broadcasted when contentAreaInteractivity is set to "Action Area and Navigation". "action" is dispatched when the mouse clicks the center area, and is broadcasted in both "Action Area and Navigation" and "Action Area Only" settings for contentAreaInteractivity.
The following example traces which area was clicked.
import net.slideshowpro.slideshowpro.*;
function onSlideShowClick(event:SSPImageEvent) {
if (event.type=="imageClick") {
trace(event.zone + " was clicked");
}
}
my_ssp.addEventListener(SSPImageEvent.IMAGE_CLICK, onSlideShowClick);