I guess you start and pause the flv so it can preload? You should
unpause the video instead of using play again because otherwise the
buffered netstream is replaced with a new one like you described.
stream = new NetStream(nc);
// start preloading
stream.play("flvname");
// pause the stream so it can continue preloading without playback
stream.pause(true);
// when you press play it unpauses and starts playing the buffered
stream
stream.pause(false);
Thijs
Op 2-jan-2007, om 22:49 heeft john_69_11 het volgende geschreven:
Hi, I'm trying to put together an flv player with a progress bar and
videodisplay object. I am using the progress event and when the
player first loads the progress shows fine, but when i hit the play
button (calling videoDisplay.play()) it throws away the buffer and
starts over. This only happens the first time I hit play. any ideas?
Thanks,
John