2 Replies Latest reply on Oct 16, 2007 9:09 AM by Michael_Maher

    Proplem with xml file

    Michael_Maher


      Hi guys,

      after i made a page with flex 2 and connect it with xml file by HTTPService it work perfect when i run it from flex2 but when i moved the files from it's place to an other place the page didn't read the xml file and this error message appear in Flash Player 9 in IE & Firefox



      quote:



      [RPC Fault faultString="Error #2148: SWF file file:///D:/Sp/dict/sdict.swf cannot access local resource file:///D:/Sp/dict/data/dict.xml. Only local-with-filesystem and trusted local SWF files may access local resources." faultCode="InvokeFailed" faultDetail="null"]
      at mx.rpc::AbstractInvoker/ http://www.adobe.com/2006/flex/mx/internal::invoke()
      at mx.rpc.http.mxml::HTTPService/ http://www.adobe.com/2006/flex/mx/internal::invoke()
      at mx.rpc.http::HTTPService/send()
      at mx.rpc.http.mxml::HTTPService/send()
      at sdict/___Application1_initialize()
      at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/set processedDescriptors()
      at mx.core::Container/createComponentsFromDescriptors()
      at mx.core::Container/mx.core:Container::createChildren()
      at mx.core::UIComponent/initialize()
      at mx.core::Container/initialize()
      at mx.core::Application/initialize()
      at sdict/initialize()
      at mx.managers::SystemManager/ http://www.adobe.com/2006/flex/mx/internal::childAdded()
      at mx.managers::SystemManager/::initializeTopLevelWindow()
      at mx.managers::SystemManager/::frameEndHandler()







      How to solve this problem

      ( this app will work in windows without net and server , it's for offline use )

      please help ,,,,