User Guide

FLVPlayback class 589
// trace array of cue points
function tracer(cuepts:Array) {
for (i in cuepts) {
if (typeof cuepts[i] == "object") { //if object in object
tracer(cuepts[i]); //trace object
} else {
// trace the name : value pair
trace(i + " " + cuepts[i]);
}
}
}
See also
FLVPlayback.addASCuePoint(), FLVPlayback.cuePoints,
FLVPlayback.findNearestCuePoint(), FLVPlayback.findNextCuePointWithName(),
FLVPlayback.isFLVCuePointEnabled(), FLVPlayback.removeASCuePoint(),
FLVPlayback.seekToNavCuePoint(), FLVPlayback.seekToNextNavCuePoint(),
FLVPlayback.seekToPrevNavCuePoint(), FLVPlayback.setFLVCuePointEnabled()
FLVPlayback.findNearestCuePoint()
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
my_FLVplybk.findNearestCuePoint(time:Number[, type:String]):Object
my_FLVplybk.findNearestCuePoint(name:String[, type:String]):Object
my_FLVplybk.findNearestCuePoint(cuePoint:Object[, type:String]):Object
Parameters
time A number that is the time, in seconds, of the cue point for which to search. The
method uses only the first three decimal places and rounds any additional decimal places that
you provide. The method returns the cue point that matches this time or the nearest earlier
cue point of the specified type. If multiple cue points have the same time, which can only
occur with ActionScript cue points, the method returns only the name that is first in
alphabetical order. It returns
null if it does not find a match.
name A string that is the name of the cue point for which to search. The method returns the
first cue point that matches this name or
null, if it does not find a match.