Bounds of a part of the text
I am trying to get the bounds of a portion of a textFlow. I tried to extract the part via:
var tf:TextFlow = _textFlow.deepCopy(start, end) as TextFlow;
trace(tf.flowComposer.numLines);
I wanted to use the TextLine.getBounds() method to get the bounding box of the text. But the number of lines is always zero, so I can't extract the line via
_textFlow.flowComposer.findLineAtPosition(0).
I tried working with compose() and so on, but the number of lines stays at zero.
Is there another possibility to get the bounds?
Thanks in advance.
