Flash Whitespace
Flash Whitespace
Out of context: Reply #3
- Started
- Last post
- 14 Responses
- jkosoy0
Hm. Tough one cuz I've never dealt with it.
One thing that MIGHT work is to split the text every time it senses more than 2 spaces, and then rejoin it immediately. In that way, you'll get rid of anything that has more than a single space in the document.
assuming your dynamic text is loaded into variable text_to_split:
text_to_split = text_to_split.split(" ").join("");
myTextfield.htmlText = text_to_split;