
Event Object Type: net.slideshowpro.slideshowpro.SSPVideoEvent
SSPVideoEvent.type property = net.slideshowpro.slideshowpro.SSPVideoEvent.VIDEO_END
Language Version: ActionScript 3.0
Player Version: Flash Player 9.0.0.0
Dispatched when a video ends playback.
| Property | Value |
|---|---|
| bubbles | false |
| cancelable | false; there is no default behavior to cancel. |
The following traces a confirmation message to the Output panel when the video completes:
import net.slideshowpro.slideshowpro.*;
function onVideoEvent(event:SSPVideoEvent) {
if (event.type=="videoEnd") {
trace("video has ended");
}
}
my_ssp.addEventListener(SSPVideoEvent.VIDEO_END, onVideoEvent);