Re: [Flashcoders] Lines in textArea

2007-08-06 Thread Alan MacDougall
Volker Scarpatetti - Advertis Interactiva wrote: Hi ! Is there a way to know how many lines are written in a textArea component when filling it up dynamically ? This is not a perfect solution, but if you know the TextField.textHeight when there is a single line, you should be able to do a

RE: [Flashcoders] Lines in textArea

2007-08-06 Thread David Ngo
Look into TextFormat.getTextExtent() as well. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan MacDougall Sent: Monday, August 06, 2007 4:41 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Lines in textArea Volker Scarpatetti