Detecting Text over-run in TLFTextField
Hi Everyone,
CS5 AS3 - TLFTextField are in use and a requirement.
I have text fields that are dynamically changed by XML for different languages.
I control the fonts (Embedded, but can vary by project builds).
Characters are not mono-spaced.
I need to detect if the inserted text exceeds the fixed text's area. I only want to want fully displayed characters.
I do not want to use the 'length' method that just counts the characters in the text string.
Does any one know of a good tutorial or have some snippets they would like to throw out for the forum?
I am building in some self test for all the fields used in a 30 language users CD with captioned movies and GUI screens.
Thanks,
Jim Wiley