
Event Object Type: net.slideshowpro.slideshowpro.SSPVideoEvent
SSPVideoEvent.type property = net.slideshowpro.slideshowpro.SSPVideoEvent.VIDEO_CUE_POINT
Language Version: ActionScript 3.0
Player Version: Flash Player 9.0.0.0
Dispatched when an embedded cue point is reached while playing a video file.
| Property | Value |
|---|---|
| bubbles | false |
| cancelable | false; there is no default behavior to cancel. |
| data | Object containing the cue point data. |
The data event object has the following properties:
| Property | Description |
|---|---|
| name | The name given to the cue point when it was embedded in the video file. |
| parameters | An associative array of name/value pair strings specified for this cue point. Any valid string can be used for the parameter name or value. |
| time | The time in seconds at which the cue point occurred in the video file during playback. |
| type | The type of cue point that was reached, either navigation or event. |
The following example traces the cue point event object data:
import net.slideshowpro.slideshowpro.*;
function onVideoCuePoint(event:SSPVideoEvent) {
for (var prop in event.data) {
trace (prop + " = " + event.data[prop]);
}
}
my_ssp.addEventListener(SSPVideoEvent.VIDEO_CUE_POINT, onVideoCuePoint);