
Event Object Type: net.slideshowpro.slideshowpro.SSPImageEvent
SSPImageEvent.type property = net.slideshowpro.slideshowpro.SSPImageEvent.IMAGE_ZONE
Language Version: ActionScript 3.0
Player Version: Flash Player 9.0.0.0
Dispatched when slideshow content is rolled-over 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 the mouse 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 which area the mouse is hovering over.
import net.slideshowpro.slideshowpro.*;
function onZoneChange(event:SSPImageEvent) {
if (event.type=="imageZone") {
trace(event.zone + " is hovered");
}
}
my_ssp.addEventListener(SSPImageEvent.IMAGE_ZONE, onZoneChange);