아마 다음과 같은 코드가 도움이 될 것입니다 :
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init()">
<mx:Script>
<![CDATA[
private function init():void{
var loader:URLLoader = new URLLoader();
loader.addEventListener(Event.COMPLETE, urlloaderCallback);
var header:URLRequestHeader = new URLRequestHeader("pragma", "no-cache");
var request:URLRequest = new URLRequest("http://37.58.52.41/7.html");
request.requestHeaders.push(header);
loader.load(request);
}
public function urlloaderCallback(event:Event):void{
//<HTML><meta http-equiv="Pragma" content="no-cache"></head><body>531,1,893,1000,528,192,We aRe oNe</body></html>
var get:String = event.currentTarget.data;
}
]]>
</mx:Script>
</mx:Application>
이 코드는 완벽하게 작동 public function urlloaderCallback
아래의 코멘트를 확인하십시오 URLLOAD 호출에 의해 반환 된 HTML이있다.
내가 볼 수있는 것은 37.58.52.41에 crossdomain.xml이 없습니다. 교차 도메인이 없으면이 서버에서 직접 파일을 다운로드 할 수 없습니다. – Aralicia