Problem 1: <br/> Flash/flex may involve the security of cross-origin access URLs. The most common problem is that "security errors occur when a URL is accessed ", this is also a common security sandbox problem. The solution is to add the Cross-Domain Policy file crossdomain to the root directory of the target domain name. XML, for example: <br/> <? XML version = "1.0"?> <Cross-domain-Policy> <allow-access-from domain = "* .techmango.com"/> </Cross-Domain-Policy> <br/> This indicates that the target source allows * .techmango.com resources under this domain name. <br/> Question 2: <br/> If socket is involved, add to-ports to the Cross-origin policy file, for example: <br/> <cross-domain-Policy> <allow-access-from domain = "*" to-ports = "507"/> <allow-access-from domain =" * .example.com "to-ports =" 509,516 "/> <allow-access-from domain =" * .example1.com "to-ports =" 517-521 "/> </cross-do Main-Policy> This policy file specifies the domains that hosts are allowed to access through those ports. <br/> Question 3: <br/> if you need to use soapheader verification to access WebService, modify the cross-origin policy file accordingly, for example: <br/> <cross-domain-Policy> <br/> <allow-access-from domain = "* .chenfeisoft.com"/> <br/> <allow-http-request- headers-from domain = "* .techmango.com" headers = "*"/> <br/> </Cross-Domain-Policy> <br/> otherwise, the defaulthttp error may occur. <br/> Question 4: <br/> Cross-origin access to data provided by third-party components, such as blazeds, may also encounter a defaulthttp error. this requires configuration on the server and ui, for example: <br/> [s Ervice end] <br/> in the server-side configuration file, find the proxy-config.xml file, which has a default destination node: <destination ID = "defaulthttp"> </destination> <br/> the default proxy destination redirects to the URL specified by the client for request. First, you must use the dynamic-URL attribute to specify destinations that allow the proxy as follows: <br/> Configure all the URLs you want to access to the dynamic-URL node. <Br/> <destination ID = "defaulthttp"> <br/> <Properties> <br/> <dynamic-URL> http://cnn.com/* </dynamic-URL> <br/> <dynamic-URL> http://news.yahoo.com/* </dynamic-URL> <br/> </Properties> <br/> </destination> <br/> after modification, save. <Br/> [UI]: <br/> to allow a flex application to access the proxy service, make sure that your application <SPAN class = 'wp _ keywordlink '> Program </span> points to the correct service and sets the useproxy attribute to true. for example: <br/> <mx: httpservice url = "http://cnn.com" useproxy = "true"/> <br/> <mx: WebService url = "http://cnn.com/api? WSDL "useproxy =" true "/> <br/> compile the UI and redeploy it. If you cannot normally read the RSS information, check whether the channelset is set; if the channelset is an attribute of httpservice, you must set it. Generally, the channelset of httpservice and remoteobjcet are the same. </P> <p> This defaulthttp error is the most innocent, but it must be set, which is a disgusting error.