1 Reply Latest reply on May 28, 2012 2:03 PM by esdebon

    Indian Languages

    ShanthiFlash Level 1

      I like to display Idian languages such as Tamil, telugu, Hindi in my application.

      I have a XML file which contains all the required texts.

      I am using unicode to create XML file.

      Please advice me how can I display those texts in Flash CS5.5.

        • 1. Re: Indian Languages
          esdebon Level 4

          You need embed a unicode font or a font with all the charactars needed

           

          to show the text in a Dynamic text field

           

             var myXML:XML;

            var myLoader:URLLoader = new URLLoader();

            myLoader.load(new URLRequest("FILE.xml"));

            myLoader.addEventListener(Event.COMPLETE, processXML);

            function processXML(e:Event):void {

            myXML = new XML(e.target.data);

               text.text= myXML.texts[0];

            }