
Event Object Type: net.slideshowpro.slideshowpro.SSPDataEvent
SSPDataEvent.type property = net.slideshowpro.slideshowpro.SSPDataEvent.ALBUM_DATA
Language Version: ActionScript 3.0
Player Version: Flash Player 9.0.0.0
Dispatched immediately after an album is requested. Contains data about the album being loaded.
| Property | Value |
|---|---|
| bubbles | false |
| cancelable | false; there is no default behavior to cancel. |
| data | An object containing data for the current album |
The data object contains the following properties:
The following traces how many images are in the current album:
import net.slideshowpro.slideshowpro.*;
function onSlideShowData(event:SSPDataEvent) {
if (event.type=="albumData") {
trace("total images: " + event.data.totalImages);
}
}
my_ssp.addEventListener(SSPDataEvent.ALBUM_DATA, onSlideShowData);