2 Replies Latest reply on Jul 23, 2009 10:03 PM by DaveFastFingers

    How to make an AS-only app trusted for dev purposes?

    DaveFastFingers

      Using Flash 10, I have a flex project set up in Flex Builder.

       

      In this project I can access local files.

       

      But when I create another project that is based purely on actionscript (just trying to reproduce a bug with minimal code), this project isn't able to access local files

       

      [[SecurityError: Error #2148: SWF file file:///C:/.../my.swf cannot access local resource ../resources/myResource.obj. Only local-with-filesystem and trusted local SWF files may access local resources.]]

       

      I don't remember setting anything special in the flex project to enable this. I would like to access files locally rather than via URL for dev purposes (I am loading large files that are not yet optimized). Does anyone know how to set the AS-only project to allow the same access?

       

      Thanks,

      David