Dan, It's a bit repetitive, but you can work it out with TextFormat.getTextExtent(). Just keep adding characters until the rect's height changes. (It's also - at least in Flash 8 - slightly incorrect when using antialiased fonts).
Ian On 8/16/07, Dan Efergan <[EMAIL PROTECTED]> wrote: > > Hello FlashCoders. > > The seemingly simple task of splitting a Textfield into it's (soft) > wrapped lines is alluding me. > > How can you tell the Text content of a particular line within a > Textfield? I'm trying to split out the individual lines to animate > them. > > Thanks, > Dan > > Dan Efergan > dan [at] subsubskills.co.uk > > > > _______________________________________________ > [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

