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

galleryToggled

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

Dispatched when a request to toggle the open/close state of the gallery is made.

Properties

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.

Example

The following traces to the Output panel the current visual state of the gallery.

import net.slideshowpro.slideshowpro.*;
function onGalleryStateEvent(event:SSPGalleryStateEvent) {
   trace(event.type);	
}
my_ssp.addEventListener(SSPGalleryStateEvent.GALLERY_OPEN, onGalleryStateEvent);
my_ssp.addEventListener(SSPGalleryStateEvent.GALLERY_OPENING, onGalleryStateEvent);
my_ssp.addEventListener(SSPGalleryStateEvent.GALLERY_CLOSED, onGalleryStateEvent);
my_ssp.addEventListener(SSPGalleryStateEvent.GALLERY_CLOSING, onGalleryStateEvent);
my_ssp.addEventListener(SSPGalleryStateEvent.GALLERY_HIDDEN, onGalleryStateEvent);
my_ssp.addEventListener(SSPGalleryStateEvent.GALLERY_TOGGLED, onGalleryStateEvent);


Page last modified by tdominey on March 03, 2009, at 03:20 PM
© 2010 Dominey Design Inc. All Rights Reserved.
About | Merchandise | Contact | Privacy policy | Legal | Licensing