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.findNearestCuePoint()
FLVPlayback.setFLVCuePointEnabled()
FLVPlayback.seekToNextNavCuePoint()
FLVPlayback.isLive
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
my_FLVPlybk.isLive
Description
Property; a Boolean value that is
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
parameter is set for the new FLV file.
Example
The following example assumes playing a live stream from a FCS. When the
occurs, the example shows the value of the
,
FLVPlayback.findCuePoint()
,
FLVPlayback.findNextCuePointWithName()
,
FLVPlayback.seekToNavCuePoint()
,
FLVPlayback.seekToPrevNavCuePoint()
if the video stream is live. This property is effective only
true
isLive
,
property.
FLVPlayback class
,
,
contentPath
event
playing
601
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?