20 Replies Latest reply on Feb 5, 2012 8:38 PM by kglad

    Dynamic text field line count external text


      Hello friends,

      I made a scrollbar, but now I have a problem, need to read the number of lines of Dynamic text field and if it is greater than x show the scrollbar and hide if is less.

      Like this:



      scrollbar._visible = true;



      scrollbar._visible = false;



      My problem is how do I count the total lines of dynamic text field after  load a external text.