aalkemist
11-09-2003, 10:32 PM
I've set my buffertime and now want to check for it to be full, then go to the next frame letting the user know they can now control the video via the control buttons. The buffer is working, but I can't figure out how to go to the next frame. Can anyone fill in my blank?
the following script has no errors, bur still doesn't work:
var connection_nc:NetConnection = new NetConnection();
connection_nc.connect(null);
var stream_ns:NetStream = new NetStream(connection_nc);
stream_ns.setBufferTime(10);
video1_video.attachVideo(stream_ns);
//stream_ns.play("testvid.flv");
if(stream_ns.bufferLength == "10"){
nextFrame();
}
the following script has no errors, bur still doesn't work:
var connection_nc:NetConnection = new NetConnection();
connection_nc.connect(null);
var stream_ns:NetStream = new NetStream(connection_nc);
stream_ns.setBufferTime(10);
video1_video.attachVideo(stream_ns);
//stream_ns.play("testvid.flv");
if(stream_ns.bufferLength == "10"){
nextFrame();
}