Determining the length of text in a textfield?
I have a 200 pixel wide text field that will be populated with some dynamic text. I would also like to have this text be underlined so that it resembles a HTML link.
How can I determine the length of the dynamic text so that I can resize the underline to match?
Thanks in advance.
textwidth failed unreasonable
Yes,I'm in As2?
And difference is inconsistent at all! sometimes it's read right sometimes it's not:confused: .
could size of window (shown part of stage) affect the size of textwidth?!,if so,How can I fix it?!