I'm have a big problem here with streaming an FLV. I am following the demonstration from the MX Executive Presentation on Macromedia's site and all the basics seem to work just fine but the buffering or streaming of the video. I have the buffer set just like they do and others I've seen:

setBufferTime(10);

It takes about 10 seconds to begin the video... which is fine. But then it plays for about 10 seconds and buffers for another 10 seconds and will continue to repeat this process 'till the movie is over. And this is on the local machine this doing it on. I've tried real high compression on the video (running it through Squeeze) tried different frame rates, I'm at a loss right now. Is there something missing or wrong in the following code? Like I said earlier, this is pretty much taken right from the first part of the presentation from Macromedia's site, so I don't know what could be wrong here. Thanks!

#include "NetDebug.as"
nc = new NetConnection();
nc.connect("rtmp:/doc_video");
nc.onStatus = function(returnObj) {
if (returnObj.code == "NetConnection.Connect.Success") {
startVideo();
} else if (returnObj.code == "NetConnection.Connect.Rejected") {
gotoAndStop("serverBusy");
nc.onStatus=null;
} else if (returnObj.code == "NetConnection.Connect.Closed") {
gotoAndStop("closedConnection");
}
trace(returnObj.code);
};
//
function startVideo() {
myInputStream = new NetStream(nc);
vidBoxPlay.attachVideo(myInputStream);
myInputStream.setBufferTime(10);
myInputStream.play("shortTwo", 0, -1,true);
}