What exactly is the .textHeight attribute measuring?
Let’s say I have a dynamic TextField named output. I want to add some text to it, and shift a box downwards to line up with the last line of text. Like so:
output.appendText(inputText+"
");
box.y=output.y+output.textHeight;
Can anyone explain to me why this code lines up the box perfectly for the first line added to output. And for the second line added to output. But for the third line of output, and every line after that point, the box is 2 pixels too high?