よくあるセキュリティ サンドボックス違反が発生しています...
Google Maps Flex API を使用していますが、Google Geocoding API にアクセスしたいと考えています。このために、私は HTTPService を使用します:
<s:HTTPService id="geo_req" url="http://maps.googleapis.com/maps/api/geocode/xml?address={i_address}" result="geo_req_resultHandler(event)" />
しかし、サンドボックス セキュリティ違反が発生しました。だから私は crossdomain.xml を次のように作成しました:
<cross-domain-policy xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://www.adobe.com/xml/schemas/PolicyFile.xsd">
<allow-access-from domain="*" secure="false" />
<allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>
私は WAMP サーバーを使用しており、 http://localhost/crossdomain.xmlと入力してファイルにアクセスできます...それでも URL にアクセスできません。
どうすればこれを取り除くことができますか?