The
event handler receives an object with these properties:
onCuePoint()
Property
name
time
type
parameters
You can define cue points in an FLV file when you first encode the file, or when you import a
video clip in the Flash Authoring tool by using the Video Import wizard.
The
event handler also retrieves information about the cue points in a video
onMetaData()
file. However the
onMetaData()
before the video begins playing. The
a single cue point at the time specified for that cue point during playback.
Generally if you want your code to respond to a specific cue point at the time it occurs you
should use the
onCuePoint()
You can use the list of cue points provided to the
start playing the video at predefined points along the video stream. Pass the value of the cue
point's
property to the
time
point.
Availability: ActionScript 1.0; Flash Player 8
Parameters
infoObject:Object
cue point.
Example
The code in this example starts by creating new NetConnection and NetStream objects. Then
it defines the
onCuePoint()
each named property in the
When it finds the property named
list and prints the parameter name and value.
var nc:NetConnection = new NetConnection();
nc.connect(null);
Description
The name given to the cue point when it was embedded in the FLV
file.
The time in seconds at which the cue point occurred in the video file
during playback.
The type of cue point that was reached, either "navigation" or
"event".
A associative array of name/value pair strings specified for this cue
point. Any valid string can be used for the parameter name or value.
event handler gets information about all of the cue points
onCuePoint()
event handler to trigger some action in your code.
NetStream.seek()
- An object containing the
handler for the NetStream object. The handler cycles through
object and prints the property's name and value.
infoObject
parameters
event handler receives information about
event handler to let your user
onMetaData()
method to play the video from that cue
,
,
, and
name
time
type
it cycles through each parameter name in the
for the
parameters
NetStream
975
Need help?
Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?