« 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

SlideShowPro for Flash
onNavButtonDisabled()
Page last modified by tdominey on April 17, 2008, at 06:30 AM

Usage

listenerObject = new Object();
listenerObject.onNavButtonDisabled = function(eventObject):Void {
	// Insert your code here.
}
slideShowProInstance.addEventListener("onNavButtonDisabled", listenerObject);

Description

Event; broadcast to all registered listeners when the forward or back navigation buttons have been disabled. Event object contains the strings "previous" (the minus button) and/or "next" (the plus button) to indicate which button was disabled.

Example

The following example traces which button was disabled to the Output window:

listenerObject = new Object();
listenerObject.onNavButtonDisabled = function(eventObject):Void {
	if (eventObject.data=="previous") {
		trace("previous button disabled");
	} else if (eventObject.data=="next") {
		trace("next button disabled");
	}
}
my_ssp.addEventListener("onNavButtonDisabled", listenerObject);


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