0 Replies Latest reply on Feb 1, 2008 5:35 AM by TJW-dev

    How to chop text (rtf) member into multiple fields

    TJW-dev Level 1

      I have an application where people can load RTF documents, and it will scroll them slowly over the stage.
      Usually this is fine. But in a couple of instances, clients want to use huge documents, that would result in the sprite being 60k pixels high. Which is clearly unacceptable.

      I don't want to tell them they can only use a certain amount of text. I can get the height of the Text member after the text is added to check the height, but what is the best way to chop this accurately into multiple chuncks that i can scroll one after the other, whilst still keeping the RTF formatting.

      Any ideas appreciated.
      Many thanks