Hi,
I know how to truncate text in a TextField, but does anyone know how to remove text and not html elements from a TextField's htmlText?
I found this site: http://thanksmister.com/2009/07/12/flex-truncating-html-text/
I only need this method I think -> 'truncateHTMLText'
However this method is broken, the for loop is broken and there's random brackets. Can anyone fix this? Or does anyone have any other solutions?
Thanks.
The gentleman who owns the site gave me the source file with the complete and functioning method.
I added it to my truncate text class - https://github.com/dorkbot/Dorkbots-Broadcasters/blob/master/dorkbots/dorkbots_ui/Truncate TextField.as