3 Jan 2005

After much, much hair pulling and many sleepless nights, I've come up with a way to print a TextArea component's contents correctly when they span more than a single page (ok, I did sleep but dreamt about it, ok?) [Sad note: This is true.]

It's definitely not a trivial affair my any means and I hope to write an article (chapter? BOOK?!) about it when I get some time.

Now I'm off to celebrate with a well-deserved movie!

Creative Commons LicenseThe TextArea, I have conquered you! article by Aral Balkan, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial 2.0 UK: England License.

Add Your Comment

Spam Protection by WP-SpamFree

TextArea, I have conquered you!

  1. I’m interested in your methodology to solve this little quandry … OK major quandry!

    The couple of viable solutions I’ve seen thus far involve reading the height of a dynamic text field inside a movie clip then creating an additional clip if a defined max height is encountered.

    Thx,
    Andrew

    Andrew
  2. Hi mate, hi have the same problem with textarea: I can’t print all the text containded in it. My nights are also sleepless… could you help me please ?

    Do you use the printJob function ?

    Thanks for your reply.

    freedesign
  3. Hi freedesign,

    I’m afraid I never solved that one and, based on the amount of work I put in and the sheer number of variations I tried, I can pretty confidetly say that it cannot be done!

    Aral Balkan
  4. if you know how to do it let the rest of us know. Bragging about it doesn’t help me with the problem I have.

    Gar

    Gar
  5. I posted a follow-up to this. Please use the search. It turned out to be incomplete and I concluded in that post that it was not possible to achieve this with the version of Flash I was using at the time. Sorry!

    aral
  6. Can you please tell me how you solved it ? I am having the same problem… !

    Houssam Zaza.
  7. Hi..
    Can you please let me know the solution to this problem? Even I want to print the contents of the TextArea control. But I am facing lot of problems..

    Thanks
    Rashmi

    Rashmi
  8. I can print the contents of my textArea, but the problem is that the contents covers 60% of the PrintOut page.Please tell me how to cover the full page.

    Preetam