FLVPlayback.seekToPrevNavCuePoint()
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
my_FLVplybk.seekToPrevCueNavPoint([time:Number])
Parameters
A number that is the starting time in seconds from which to look for the previous
time
navigation cue point. The default is the current value of the
Optional.
Returns
Nothing.
Description
Method; seeks to the previous navigation cue point, based on the current value of the
property. It goes to the beginning if there is no previous cue point. The
playheadTime
method skips navigation cue points that have been disabled.
For several reasons, the
immediately after calling one of the seek methods or setting
First, for a progressive download, you can seek only to a keyframe, so a seek takes you to the
time of the first keyframe after the specified time. (When streaming, a seek always goes to the
precise specified time even if the source FLV file doesn't have a keyframe there.) Second,
seeking is asynchronous, so if you call a seek method or set the
does not update immediately. To obtain the time after the seek is complete,
playheadTime
listen for the
event, which does not start until the
seek
Example
The following example seeks to the previous navigation cue point when the point2 cue point
occurs, creating a loop to play the FLV file.
664
FLVPlayback Component (Flash Professional Only)
property might not have the expected value
playheadTime
property
playheadTime
to cause seeking.
playheadTime
playheadTime
property has updated.
playheadTime
.
property,
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers