FLVPlayback.FLV
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
mx.video.FLVPlayback.FLV
Description
A read-only FLVPlayback class property that contains the string constant,
this property as the
type
methods.
Example
The following example looks for a cue point named
file cue points and displays the type and time found. FLV file cue points are navigation and
event cue points.
Drag an FLVPlayback component to the Stage, and give it an instance name of
my_FLVPlybk. Then add the following code to the Actions panel on Frame 1 of
the Timeline:
/**
Requires:
- FLVPlayback component on the Stage with an instance name of my_FLVPlybk
*/
import mx.video.*;
my_FLVPlybk.contentPath = "http://www.helpexamples.com/flash/video/
cuepoints.flv";
// create cue point object
var listenerObject = new Object();
listenerObject.ready = function(eventObject:Object):Void {
var cuePt:Object = new Object(); // create cue point object
cuePt.name = "point3";
cuePt.time = 16.02;
if(cuePt = my_FLVPlybk.findCuePoint(cuePt, FLVPlayback.FLV)) //find cue
point
trace("found a " + cuePt.type + " cue point at " + cuePt.time);
else
trace("cue point not found");
}
my_FLVPlybk.addEventListener("ready", listenerObject);
594
FLVPlayback Component (Flash Professional Only)
parameter for the
findCuePoint()
and
findNearestCuePoint()
with a time of 7.748 among FLV
point2
. You can use
"flv"
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?