Please, remove me from the list. Thank you. Yemane Russom
-----Original Message----- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Sander Schuurman Sent: 2009-04-23 08:45 To: Flash Coders List Subject: Re: [Flashcoders] Dynamicly created text-pages... My first attempt was doing it with the scrollrect property. (wich ended up unfortunatly in seeing pixel-lines (of lines of text) sometime when using it to show different pages) The problem isn't figuring out 'if' I need new pages (or how much), but it is where the last word/character/whatever of the big text is, to continue on a new page. Joel Stransky wrote: > 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 >> >> > > > > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __________ Information from ESET NOD32 Antivirus, version of virus signature database 4030 (20090423) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 4030 (20090423) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders