I think you're stuck with either mucking with bitmaps or measuring the width of each character, the kerning between each pair, the line heights...(hope you at least stick with one font size and one font for these text fields if you're working in Flash 7 or lower, and forget about Unicode)
> > From: Robert Gordon <[EMAIL PROTECTED]> > Date: 2006/08/02 Wed AM 09:56:38 CDT > To: Flashcoders mailing list <[email protected]> > Subject: Re: [Flashcoders] x,y coordinates of a character > > Wish I could ... But I need the formatting... > > r o b > > > | Robert Gordon > | The Article 19 Group Inc. > | phone: 514.938.8512 > | email: [EMAIL PROTECTED] > | http://www.article19.com > > > > From: John Mark Hawley <[EMAIL PROTECTED]> > > Organization: Nilbog > > Reply-To: Flashcoders mailing list <[email protected]> > > Date: Wed, 2 Aug 2006 9:17:15 -0500 > > To: Flashcoders mailing list <[email protected]> > > Subject: Re: [Flashcoders] x,y coordinates of a character > > > > Can you make your life easier and use a monospace font? > > > >> > >> From: Robert Gordon <[EMAIL PROTECTED]> > >> Date: 2006/08/02 Wed AM 09:12:10 CDT > >> To: Flashcoders mailing list <[email protected]> > >> Subject: [Flashcoders] x,y coordinates of a character > >> > >> Hey List! > >> > >> I'm trying to find a way to determine the stage coordinates of a character > >> within a dynamically constructed text field (multiline, wrapping, html > >> formated). I've experimented with Erik's TextFieldExtension - but the html > >> formatting & wrapping seem to throw it off. Anyone have another solution? > >> One thought I had was to recolor the field to white, colour the character > >> of > >> interest to non-white, convert to a bitmap object and walk it pixel by > >> pixel. Can't imagine that's going to be very efficient though... > >> > >> Thanks in advance for any suggestions, > >> > >> r o b > >> > >> > >> | Robert Gordon > >> | The Article 19 Group Inc. > >> | phone: 514.938.8512 > >> | email: [EMAIL PROTECTED] > >> | http://www.article19.com > >> > >> _______________________________________________ > >> [email protected] > >> 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 > >> > > > > -- > > John Mark Hawley > > The Nilbog Group > > 773.968.4980 (cell) > > > > _______________________________________________ > > [email protected] > > 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 > > > > _______________________________________________ > [email protected] > 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 > -- John Mark Hawley The Nilbog Group 773.968.4980 (cell) _______________________________________________ [email protected] 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

