# Xml greek text in flash

**URL:** <https://forum.kirupa.com/t/xml-greek-text-in-flash/314150>\
**Category:** Uncategorized\
**Created:** [September 20, 2010, 11:20am UTC](https://forum.kirupa.com/t/xml-greek-text-in-flash/314150 "2010-09-20T11:20:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mtuza](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@mtuza](https://forum.kirupa.com/u/mtuza)\
**Post date:** [September 20, 2010, 11:20am UTC](https://forum.kirupa.com/t/xml-greek-text-in-flash/314150/1 "2010-09-20T11:20:46Z")

</div>

Hello everyone,  
I am not very familiar with flash AS3, and i have a very small query.

I try to call a php file of xml ex:[http://www.test.com/text.php](http://www.test.com/text.php) with proper greek data into flash which contains greek letters

but i cant when i trace xml i get corrupted output.

my code is:

var xmlData:XML = new XML();  
var xmlLoader:URLLoader = new URLLoader();

xmlLoader.addEventListener(Event.COMPLETE, LoadXML);

xmlLoader.load(new URLRequest(“[http://www.test.com/test.php](http://www.test.com/test.php)”));

function LoadXML(e:Event):void {  
xmlData = new XML(e.target.data);  
trace(xmlData);  
this.txt.text = xmlData;  
}

can any body help??:moustache
