1 Reply Latest reply on Aug 22, 2012 9:00 AM by Rhuno

    Save file and open it

    Rhuno Level 1

      Is there some kind of security restriction in AIR that prevents you from saving a file out and then opening that file?


      I'm creating an application that allows users to record video from their webcam and save it to an flv.  That part works fine, but when I try to stream the video in so that the user can preview it, I get the following error:


      Error #2044: Unhandled NetStatusEvent:. level=error, code=NetStream.Play.StreamNotFound


      This is odd because the file certainly exsists and I can open it with various media players.  Also, the application itself can load and play the video back just fine if I restart it. It seems that only the instance of the app that creates the file is not allowed to open it.  Bogus.


      Is this indeed the case?  If so, is there a way around this?