4 Replies Latest reply: May 27, 2012 11:17 PM by PauliusLiekis RSS

    How can I download FLV completely and only then play video on Flash?

    PauliusLiekis

      What is a proper way to download video first and then play it in Flash? NetStream seems to allow me only to stream video - I can't find a way to download file completely first. Is there some other file for this?

       

      It looks like I can download the file using URLLoader, then do NetStream.play(null) and then append bytes from URLLoader using NetStream.appendBytes(...), but I get: "SecurityError: Error #2123: Security sandbox violation: BitmapData.draw: file:///Users/Paulius/Build.swf cannot access unknown URL. No policy files granted access." Is there a workaround?