
listenerObject = new Object();
listenerObject.onPreloadStart = function(eventObject):Void {
// Insert your code here.
}
slideShowProInstance.addEventListener("onPreloadStart", listenerObject);
Event; broadcast to all registered listeners when a slideshow image begins loading. The event object (eventObject) contains a continually updating Number that represents the percentage of bytes loaded. The minimum number is 0, while the maximum is 100.
The following example writes the percentage loaded to a text field outside of the component:
listenerObject = new Object();
listenerObject.onPreloadStart = function(eventObject):Void {
preload_txt.text = eventObject.data;
}
my_ssp.addEventListener("onPreloadStart", listenerObject);

