views:

7

answers:

1

In flex, I have mx:Text component. How can I find how many characters can fit into it without vertical scroll for a certain height & font etc.

+1  A: 

I think you need the TextLineMetrics class.

But, I imagine things might be a bit tricky if you're dealing with multiline text.

www.Flextras.com