« 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 30, 2008, at 08:51 AM

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

Dispatched when the gallery has reached its final position after an open request has been 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);


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