0 Replies Latest reply on Dec 5, 2014 6:38 AM by Eskalior

    Flash Builder trusted file problems

    Eskalior

      Greetings,

       

      I am currently working on a project in Flash Builder, using the Away3D SDK.

      When I export it as debug version, it runs fine when I start it from the project-directory. When I export it as release version and try to star it I get the error

       

      SecurityError: Error #2148: SWF file file:///D|/Adobe/Creative%20Cloud%20Files/XXX/XXX/bin%2Drelease/XXX.swf cannot access local resource file:///D|/Adobe/Creative%20Cloud%20Files/XXX/XXX/bin%2Drelease/XXX.swf/[[DYNAMIC]]/1. Only local-with-filesystem and trusted local SWF files may access local resources.

        at flash.display::Loader/get content()

        at away3d.loaders.parsers::ImageParser/onLoadComplete()

       

      I get the same Error when I try to run the debug swf from another directory.

      Of course I solved this by manually adding it to the global security settings of my Flash Player, but my problem is that I dont want others to need to do that.

      I've never had this problem in flash professional cc, so I guess there must be a solution.

       

      I appreciate your help.