Visit SlideShowPro.net  Community Forums
SlideShowPro Help Wiki
  

Products

SlideShowPro for Flash

SlideShowPro for Lightroom

SlideShowPro Standalone

SlideShowPro Director

SlideShowPro Director Hosting

ThumbGrid

Additional support

  1. Community forums
  2. Email support staff

Company

  1. Products
  2. About SlideShowPro
  3. News
  4. Follow SlideShowPro on Twitter

SlideShowPro for Flash

onNavButtonDisabled()

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


Page last modified by tdominey on April 17, 2008, at 06:30 AM
© 2010 Dominey Design Inc. All Rights Reserved.
About | Merchandise | Contact | Privacy policy | Legal | Licensing