코드에서 뭘 잘못했는지에 대해서는 언급하지 않겠습니다.하지만 제가 지적 할 수있는 것은 액션 스크립트에서 XML에 대한 몇 가지 리소스를 파는 것입니다. 이것은 광범위하고 유용한 주제입니다.
다음은 코드의 모습입니다.
var xmlData:XML;
var loader_ul:URLLoader = new URLLoader();
loader_ul.load(new URLRequest("http://twitter.com/statuses/user_timeline/weliebeneath.xml"));
loader_ul.addEventListener(Event.COMPLETE, fileLoaded);
function fileLoaded(e:Event):void {
xmlData = new XML(e.target.data);
txt.text=xmlData;
}
출처
https://stackoverflow.com/questions/7415088