Posted on 2009-03-14 11:45
Robert Su 阅读(909)
评论(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.*'这样就对了