-
display page html to dynamic textfield in as3
found that code to display html 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( uploaded in http://electronic-deejay.com/live/)
can’t display the text ???
i added a crossdomain.xml , but same problem
please help !!!!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|