
Event Object Type: net.slideshowpro.slideshowpro.SSPAlbumEvent
SSPAlbumEvent.type property = net.slideshowpro.slideshowpro.SSPAlbumEvent.ALBUM_END
Language Version: ActionScript 3.0
Player Version: Flash Player 9.0.0.0
Dispatched when a slideshow attempts to load another piece of slideshow content from an album and none exists. This event only fires when a slideshow is in auto-playback mode and additional content is requested from an album that doesn't contain more.
| Property | Value |
|---|---|
| bubbles | false |
| cancelable | false; there is no default behavior to cancel. |
| id | The id of the affected album. |
The following example redirects the web browser to a new URL when reaching the end of an album:
import net.slideshowpro.slideshowpro.*;
function onAlbumEnd(event:SSPAlbumEvent) {
var request:URLRequest = new URLRequest("http://slideshowpro.net/");
navigateToURL(request,"_self");
}
my_ssp.addEventListener(SSPAlbumEvent.ALBUM_END, onAlbumEnd);