User Guide

FLVPlayback class 613
Description
A read-only FLVPlayback class property that contains the string constant, "navigation".
You can use this property for the
type parameter of the findCuePoint() and
findNearestCuePoint() methods.
Example
The following example uses the FLVPlayback.NAVIGATION property to specify the type of
cue point to find.
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.*;
// find navigation cue point using time
var listenerObject:Object = new Object();
listenerObject.ready = function(eventObject:Object):Void {
var rtn_cuePt:Object = new Object();
rtn_cuePt = my_FLVPlybk.findCuePoint(7.748, FLVPlayback.NAVIGATION);
trace("Found cue point at " + rtn_cuePt.time + " of type " +
rtn_cuePt.type);
}
my_FLVPlybk.addEventListener("ready", listenerObject)
my_FLVPlybk.contentPath = "http://www.helpexamples.com/flash/video/
cuepoints.flv";
See also
FLVPlayback.findCuePoint(), FLVPlayback.findNearestCuePoint()
FLVPlayback.ncMgr
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
my_FLVPlybk.ncMgr