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

onFullScreenChange()

Usage

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

Description

Event; broadcast to all registered listeners when SlideShowPro enters and exits full screen mode in Flash Player 9. The event object (eventObject) contains the string value assigned to Stage.displayState

Example

The following example shows how to detect changes in full screen mode:

listenerObject = new Object();
listenerObject.onFullScreenChange = function(eventObject):Void {
	if (eventObject.data == "fullScreen") {
		// insert code here
	} else if (eventObject.data == "normal") {
		// insert code here
	}
}
my_ssp.addEventListener("onFullScreenChange", listenerObject);


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