Thank you for reply. I use setTextFormat, but the parsing of textfield's lines content is quite tricky. I can extract text with getLineText, but having problems accesing a word's indexOf.
Regrds, Ktt --- On Mon, 8/16/10, Henrik Andersson <[email protected]> wrote: > From: Henrik Andersson <[email protected]> > Subject: Re: [Flashcoders] Highligting words in a textField > To: "Flash Coders List" <[email protected]> > Date: Monday, August 16, 2010, 2:11 AM > ktt wrote: > > How is it possible to higlight some words in a > textFiled which is splited to lines (\n) ? > > I would use the setTextFormat method if I had to use a > TextField. But I would rather use flash.text.engine and > assign a separate content element instead. > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

