Hi,
You can use setTextFormat(startIndex,endIndex,textFormat): // start var TF1:TextFormat = new TextFormat() TF1.font="Arial"; // var TF2:TextFormat = new TextFormat() TF2.font="Courier New"; // this.createTextField("txt",1,0,0,200,30); // this.txt.text = "Ein, Zwei, Drei"; // var end1Idx = this.txt.text.length-1; var end2Idx = this.txt.text.length; // this.txt.setTextFormat(0,end1Idx,TF1); this.txt.setTextFormat(end1Idx,end2Idx,TF2); // end hmdakr> Hi hmdakr> Plz tell me how to change the format of last character of a word. hmdakr> Like World hmdakr> I want "Worl" in Arial Font and d in "Digital Readout Thick Upright" Font. hmdakr> Thanks in Advance... hmdakr> HMD hmdakr> hmdakr> __________________________________________________________ hmdakr> Yahoo! India Answers: Share what you know. Learn something new hmdakr> http://in.answers.yahoo.com/ hmdakr> _______________________________________________ hmdakr> Flashcoders@chattyfig.figleaf.com hmdakr> To change your subscription options or search the archive: hmdakr> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders hmdakr> Brought to you by Fig Leaf Software hmdakr> Premier Authorized Adobe Consulting and Training hmdakr> http://www.figleaf.com hmdakr> http://training.figleaf.com -- Pozdrowienia, BlackMail ---------------------------------------------------------------------- Jestes kierowca? To poczytaj! >>> http://link.interia.pl/f199e _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com