Code property
NetStream.Play.Stop
NetStream.Play.Stream
NotFound
NetStream.Seek.Invali
dTime
NetStream.Seek.Notify
If you consistently see errors regarding buffer, you should try changing the buffer using the
NetStream.setBufferTime()
Availability: ActionScript 1.0; Flash Player 6
Parameters
infoObject:Object
Example
The following example displays data about the stream in the Output panel:
var connection_nc:NetConnection = new NetConnection();
connection_nc.connect(null);
var stream_ns:NetStream = new NetStream(connection_nc);
my_video.attachVideo(stream_ns);
stream_ns.play("video1.flv");
stream_ns.onStatus = function(infoObject:Object) {
trace("NetStream.onStatus called: ("+getTimer()+" ms)");
for (var prop in infoObject) {
trace("\t"+prop+":\t"+infoObject[prop]);
}
trace("");
};
See also
setBufferTime (NetStream.setBufferTime method)
handler)
Level property
status
error
error
status
method.
- A parameter defined according to the status message or error message.
Meaning
Playback has stopped.
The FLV passed to the
be found.
For video downloaded with progressive
download, the user has tried to seek or play
past the end of the video data that has
downloaded thus far, or past the end of the
video once the entire file has downloaded.
The
message.details
time code that indicates the last valid
position to which the user can seek.
The seek operation is complete.
,
onStatus (System.onStatus
method can't
play()
property contains a
NetStream
979
Need help?
Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?