apache-flexactionscript-3flex4

How to get the line count of content of the Spark TextArea


I want to get the line count of the spark text area content.

Please help me.


Solution

  • In this site you can find a working example : http://blog.flexexamples.com/2008/05/08/determining-the-number-of-lines-in-a-textarea-control-in-flex/

    and the same is explained here: http://blog.flexexamples.com/2010/01/13/determining-the-number-of-lines-in-a-spark-richeditabletext-control-in-flex-4/

    hope it help.