Visit SlideShowPro.net  Community Forums
SlideShowPro Help Wiki
Recent changes / Search

SlideShowPro for Flash

SlideShowPro for Lightroom

SlideShowPro Standalone

SlideShowPro Director

SlideShowPro Director Hosting

ThumbGrid

SlideShowPro for Flash
onPreloadProgress()
Page last modified by tdominey on March 12, 2009, at 06:17 AM

Usage

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

Description

Event; continuously broadcasted to all registered listeners when the percentage of data being preloaded is updated. Event fires after onPreloadInit and before onPreloadEnd. Event object returns only numbers from 0 to 100.

Example

The following example traces the percentage of data that has loaded as part of the preload request:

listenerObject = new Object();
listenerObject.onPreloadProgress = function(eventObject):Void {
   trace("loaded: " + eventObject.data);
}
my_ssp.addEventListener("onPreloadProgress", listenerObject);


© 2010 Dominey Design Inc. All Rights Reserved.
About | Merchandise | Contact | Privacy policy | Legal | Licensing