text field height? MX

  • Started
  • Last post
  • 0 Responses
  • sauerbraten

    hello, i'm having some trouble being able to find a way to get the height of a dynamic text field. now, i'm talking about getting the height of the text IN the field, i don't want the height of the bounding box.

    i have been doing a function of counting the chars in the box, averaging a certain chars per line, and dividing it and shit then attributing a pixel value per line, but this isn't very good..

    any thoughts?

    btw, textField.textHeight; doesn't work...