2 Replies Latest reply on Feb 9, 2008 11:16 AM by Yozef0

    Flex 3 (beta3) PHP, HTTPService error - Not in Flex 2?

    Yozef0 Level 1
      I have tried out a long time ago a simple HTTPService request to a PHP. The same code works in Flex 2, but not Flex 3.

      The very famous Flex PHP Login gives this error at runtime:
      quote:

      [RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Destination: DefaultHTTP"]
      at mx.rpc::AbstractInvoker/ http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev\flex_3_beta3\sdk\framewo rks\projects\rpc\src\mx\rpc\AbstractInvoker.as:223
      at mx.rpc::Responder/fault()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\Resp onder.as:56]
      at mx.rpc::AsyncRequest/fault()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\A syncRequest.as:110]
      at DirectHTTPMessageResponder/securityErrorHandler()[E:\dev\flex_3_beta3\sdk\frameworks\proj ects\rpc\src\mx\messaging\channels\DirectHTTPChannel.as:374]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at flash.net::URLLoader/redirectEvent()