g schafer wrote:
> lineCount = (txt._height/(font.size + font.leading))
>
> This never works for my example, ie ht = 70, size = 30,
leading =
> -10 ie 70/(30+-10) == 1.6
Hi,
shouldn't you be using the actual height of the text instead
of the
container's height?
TextField.textHeight
<htt
p://www.adobe.com/support/flash/action_scripts/actionscript_
dictionary/actionscript_dictionary774.html>
Best,
Wille
_______________________________________________
dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l
|