You can use the scrollV and maxScrollV properties to determine if you have text outside of the field.
if(myTextField.scrollV != myTextField.maxScrollV){ //scrollbars or pagination needed } On Thu, Apr 23, 2009 at 8:05 AM, Sander Schuurman <b...@chello.nl> wrote: > Hi cool list, > > Got myself a little optimazation challenge. > > I'm getting HTML text from an XML file. The big text needs to be split into > different pages, depending on the size of the text. > What's the best way to approach this? > > I'm no counting words, en add words to a dynamic TextField (with css-style) > en check with every word if it is still within the boundaries of the page. > If it exceeds the height, then we will make another page and continue with > adding the words. For really large texts this won't be the fastest way I > guess. > > Any thoughts on this subject? > > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- --Joel Stransky stranskydesign.com _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders