0 Replies Latest reply on Apr 15, 2013 3:21 AM by ZishanJ

    FileStream security error

    ZishanJ Level 1

      Hello,

       

      I am developing multithreaded application in Air 3.6 with Flex 4.6. I am using FileStream class inside the Worker thread which is created in separate SWF file. When I declare the variable like this:

       

      var FS:FileStream = new FileStream();
      

       

      It throws the following error without any further detail:

       

       

      SecurityError: file
      

       

      Using FileStream class on Main thread works fine. Is there any workaround to this?

       

      Thanks,

      Zishan J.