Space within underlined text not appearing

Posted by themick88 
Space within underlined text not appearing
December 20, 2008 02:21AM
I may have found a bug within FlashEff. I am using v. 7.7.1 on a Mac.

I am setting the htmlText property of a text field. Some of the text has the underlined HTML attribute:

myText.htmlText = "An apple a <u>day keeps</u> the doctor away.";

After the text effect plays (I'm using FETScramble, but it apparently happens with all of them), the space between the words "day" and "keeps" is NOT underlined. Without the text effect applied to the text field, there IS an underline on the space.

The only workaround I have found is to use the non-breaking space HTML entity (&#160;) in place of the space. I must also make sure that character is embedded in the font for that text field. It works, but it makes my text string look especially ugly:

myText.htmlText = "An apple a <u>day&#160;keeps</u> the doctor away.";

Has anyone else encountered this? Is there a better solution than using the HTML entity for non-breaking space?

Thanks!
Sorry, you do not have permission to post/reply in this forum.