found that code to display html format text to dynamic textfield in as3:
var url:String = "http://edeejay.dyndns.org:8000/currentsong?sid=1";
var loadit:URLLoader = new URLLoader();
loadit.addEventListener(Event.COMPLETE, completeHandler);
loadit.load(new URLRequest(url));
function completeHandler(event:Event):void {
myText_txt.htmlText = event.target.data as String;
}
all work fine in local , but when upload to the net , swf can’t display the text ???
This is more likely a cross-domain problem.
Listen to
SecurityErrorEvent.SECURITY_ERRORandIOErrorEvent.IO_ERRORto confirm that. And in general you should always listen to them to know if something wrong happens.