2 Replies Latest reply on Dec 5, 2008 2:14 PM by Leeburstroghm

    Day One - Video Ten - Sandbox Security Error

    xtraudioneer Level 1
      Hi, I am trying out Flex Builder 3 and am dedicating my time to learning the Flex Framework and its possibilities and I have reached video 10 - Retrieving data via HTTPService.

      When I run the debug of the app, which I have checked countless times for errors, including the XML file under that data folder, I get the following error:

      [SWF] C:\Users\RudeBoyAl\Desktop\Flex Projects\XYZ Company\EmployeeDisplay\bin-debug\EmployeeDisplay.swf - 876,455 bytes after decompression
      [RPC Fault faultString="Error #2070: Security sandbox violation: caller cannot access Stage owned by ." faultCode="Client.CouldNotDecode" faultDetail="null"]
      at mx.rpc.http::HTTPService/ http://www.adobe.com/2006/flex/mx/internal::processResult()[C:\autobuild\3.2.0\frameworks\ projects\rpc\src\mx\rpc\http\HTTPService.as:851
      at mx.rpc::AbstractInvoker/ http://www.adobe.com/2006/flex/mx/internal::resultHandler()[C:\autobuild\3.2.0\frameworks\ projects\rpc\src\mx\rpc\AbstractInvoker.as:188
      at mx.rpc::Responder/result()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\Responde r.as:43]
      at mx.rpc::AsyncRequest/acknowledge()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\ AsyncRequest.as:74]
      at DirectHTTPMessageResponder/completeHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\s rc\mx\messaging\channels\DirectHTTPChannel.as:403]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at flash.net::URLLoader/onComplete()

      I have an idea of what the Security Sandbox is and I understand that it has something to do with files within the same domain or different domains but I don't understand why I get this error seeing that the project files are in the folders as instructed by the tutorials and they are all within my Flex Projects folder on my desktop! What is it that gives me this error?