Posted on 2009-03-14 11:45
Robert Su 閱讀(917)
評論(0) 編輯 收藏 所屬分類:
Flex
[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()
at mx.rpc::Responder/fault()
at mx.rpc::AsyncRequest/fault()
at DirectHTTPMessageResponder/securityErrorHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/redirectEvent()
報錯如上
是我把flex里的release版本直接放到頁面中出息此提示的
先挖坑~
原來我的url寫的問題,比如
url = 'http://202.111.11.1/appliaction/datasource.*'
這樣會被flash player以為是romote web Service
url = /appliaction/datasource.*'這樣就對了