Search code examples
actionscript-3videonetstream

Play video only after its fully downloaded


Flv seems like can't be use with loader but NetStream. But I wanted to play the video only after I have completely download it (smooth viewing with no buffering time). How can I do it with NetStream? And Can I have multiple video load at same time, and play it according to some array arrangement?


Solution

  • you can check if stream.bytesLoaded == stream.bytesTotal