Skip navigation
Currently Being Moderated

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

Apr 15, 2012 12:13 PM

Tags: #video #netstream #download #stream #urlloader

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 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?

  • Currently Being Moderated
    Apr 17, 2012 11:47 PM   in reply to PauliusLiekis



    The error you have reported. It seems that flash player is unable to access to the document root folder of your web server. Place crossdomain.xml in the web server’s document root directory.


    This should solve the problem you are facing.



    Mark as:
  • Currently Being Moderated
    May 27, 2012 8:21 PM   in reply to PauliusLiekis

    Have you found a solution to make Bitmap.draw() work with NetStream.appendBytes()?  I ran into the same problem and couldn't find a solution.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points