4 Replies Latest reply on Jun 4, 2009 11:16 AM by Michael Borbor

    Only local-with-filesystem and trusted local SWF files may access local resources

    Celinio Level 1

      Hi,

      i am using an XML file in my Flex project.
      When i use it on Flex Builder, it works fine  then when i do an export release build, and try to load the D:\temp2\bin-release\test.html page,
      i get an error :                   
      [RPC Fault faultString="Error #2148: SWF file file:///D:/temp2/bin-release/POC.swf cannot access local resource data/villes.xml. Only local-with-filesystem and trusted local SWF files may access local resources." faultCode="InvokeFailed" faultDetail="null"]

      How can i turn that XML file ( D:\temp2\bin-release\data\villes.xml) trustable so Flash Player does not complain ?

      Thanks