
Event Object Type: net.slideshowpro.slideshowpro.SSPNavButtonEvent
SSPNavButtonEvent.type property = net.slideshowpro.slideshowpro. SSPNavButtonEvent.NEXT_IMAGE
Language Version: ActionScript 3.0
Player Version: Flash Player 9.0.0.0
Dispatched when the next image button in the navigation is disabled, enabled, and/or clicked.
| Property | Value |
|---|---|
| bubbles | false |
| cancelable | false; there is no default behavior to cancel. |
| mode | A string containing the event the occurred. Values include "enabled", "disabled" or "click". |
The following traces when a button is enabled and/or disabled.
import net.slideshowpro.slideshowpro.*;
function onNavButtonEvent(event:SSPNavButtonEvent) {
if (event.mode=="disabled") {
trace(event.type + " button was disabled");
}
if (event.mode=="enabled") {
trace(event.type + " button was enabled");
}
}
my_ssp.addEventListener(SSPNavButtonEvent.NEXT_IMAGE, onNavButtonEvent);
my_ssp.addEventListener(SSPNavButtonEvent.PREV_IMAGE, onNavButtonEvent);
my_ssp.addEventListener(SSPNavButtonEvent.NEXT_IMAGE_GROUP, onNavButtonEvent);
my_ssp.addEventListener(SSPNavButtonEvent.PREV_IMAGE_GROUP, onNavButtonEvent);

