time = 16.02
name = point3
---------
The parameter name "lights" is an arbitrary name used by the author of the example video.
You can give cue point parameters any name you want.
See also
onMetaData (NetStream.onMetaData handler)
onMetaData (NetStream.onMetaData handler)
onMetaData = function(infoObject:Object) {}
Invoked when the Flash Player receives descriptive information embedded in the FLV file
being played.
The Flash Video Exporter utility (version 1.1 or greater) embeds a video's duration, creation
date, data rates, and other information into the video file itself. Different video encoders
embed different sets of metadata.
This handler is triggered after a call to the
playhead has advanced.
In many cases the duration value embedded in FLV metadata approximates the actual
duration but is not exact. In other words it will not always match the value of the
property when the playhead is at the end of the video stream.
NetStream.time
Availability: ActionScript 1.0; Flash Player 7
Parameters
infoObject:Object
Example
The code in this example starts by creating new NetConnection and NetStream objects. Then
it defines the
onMetaData()
each named property in the
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
ns.onMetaData = function(infoObject:Object) {
for (var propName:String in infoObject) {
trace(propName + " = " + infoObject[propName]);
}
};
NetStream.play()
- An object containing one property for each metadata item.
handler for the NetStream object. The handler cycles through
object and prints the property's name and value.
infoObject
method, but before the video
NetStream
977
Need help?
Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?