Hi Dan, getTextExtent() isn't actually deprecated - it's an (acknowledged) bug in the documentation.
Ian On 8/16/07, Dan Efergan <[EMAIL PROTECTED]> wrote: > > Thanks so far. > > I suppose I could do something similar to the TextExtent thing > filling up a textfield and checking it's textheight (does textheight > update without a redraw?). > > At least then it wouldn't be a deprecated command. > > And I'm thinking cutting down processing by using making an estimate > of line sizes based on character width, and hopefully start the check > somewhere close to a line break. > > I'll post any useful outcomes. > Dan > > On 16 Aug 2007, at 14:21, Ian Thomas wrote: > > > 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). > > Dan Efergan > dan [at] subsubskills.co.uk > > > > _______________________________________________ > 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 > _______________________________________________ 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