« Back to slideshowpro.net
SlideShowPro Help Wiki
Recent changes / Search

SlideShowPro for Flash

SlideShowPro for Lightroom

SlideShowPro Director

SlideShowPro Director Hosting

SlideShowPro ThumbGrid

Extras

Screencasts

Page last modified by tdominey on November 07, 2008, at 11:23 AM

Event Object Type: net.slideshowpro.slideshowpro.SSPNavButtonEvent
SSPNavButtonEvent.type property = net.slideshowpro.slideshowpro. SSPNavButtonEvent.PREV_IMAGE
Language Version: ActionScript 3.0
Player Version: Flash Player 9.0.0.0

Dispatched when the previous image button in the navigation is disabled, enabled, and/or clicked.

Properties

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.
modeA string containing the event the occurred. Values include "enabled", "disabled" or "click".

Examples

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);


© 2008 Dominey Design Inc. All Rights Reserved.
About | Contact | Privacy policy | License agreements