« 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
onTransPauseStart()
Page last modified by tdominey on April 17, 2008, at 06:43 AM

Usage

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

Description

Event; broadcast to all registered listeners when transition pause is engaged and the timer begins to countdown. The event object (eventObject) contains the length of the pause (in seconds).

Example

The following example writes to the Output panel the number of seconds the current pause will last:

listenerObject = new Object();
listenerObject.onTransPauseStart = function(eventObject):Void {
	trace("We're going to sit here for " + eventObject.data + " seconds.")
}
my_ssp.addEventListener("onTransPauseStart", listenerObject);

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