text line metrics not calculating accurately
I am setting an html text field with a stylesheet and then some html text, and following that attempt to get the line height of a single line (such as the first) by textField.getLineMetrics(0). From that I check the lineMetrics.height value and it is always about 1.5 to 2 even though I have text there. Anyway, after trying a few things like adding/removing the display object as a child (reset the line metrics???), I thought to do a textField.getCharBoundaries(0) -- the "0" for the first character in my text. This measured 31.7! Excellent. Something to work with finally. Then I scanned my traces and noticed the line metrics trace for height was now 37.7!!! Ahhhhhh, what a relief. I need to finish what I was working on now, so I am not going to do any more investigation for the time being, but it looks like the getCharBoundaries somehow resets the line metrics data in the player. Any thoughts out there on why this is the case?
