User Guide

FLVPlayback class 601
my_FLVPlybk.addEventListener("ready", ready);
var listenerObject:Object = new Object();
listenerObject.cuePoint = function(eventObject:Object) {
trace("Elapsed time in seconds: " + my_FLVPlybk.playheadTime);
trace("Cue point name is: " + eventObject.info.name);
trace("Cue point type is: " + eventObject.info.type);
if (my_FLVPlybk.isFLVCuePointEnabled("point2") == false) {
my_FLVPlybk.setFLVCuePointEnabled(true, "point2");
}
}
my_FLVPlybk.addEventListener("cuePoint", listenerObject);
my_FLVPlybk.contentPath = "http://www.helpexamples.com/flash/video/
cuepoints.flv";
See also
FLVPlayback.cuePoint, FLVPlayback.findCuePoint(),
FLVPlayback.findNearestCuePoint(), FLVPlayback.findNextCuePointWithName(),
FLVPlayback.setFLVCuePointEnabled(), FLVPlayback.seekToNavCuePoint(),
FLVPlayback.seekToNextNavCuePoint(), FLVPlayback.seekToPrevNavCuePoint()
FLVPlayback.isLive
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
my_FLVPlybk.isLive
Description
Property; a Boolean value that is true if the video stream is live. This property is effective only
when streaming from a FCS or FVSS. The value of this property is ignored for an HTTP
download.
If you set this property between loading new FLV files, it has no effect until the
contentPath
parameter is set for the new FLV file.
Example
The following example assumes playing a live stream from a FCS. When the playing event
occurs, the example shows the value of the
isLive property.