标签云

微信群

扫码加入我们

WeChat QR Code

I have a weird bug involving Flash text and hyperlinks, htmlText in a TextField with <a> tags seem to truncate surrounding space:

output http://www.anti-pattern.net/tvo/output1.gif

Once I place my cursor over the text, it "fixes" itself:

output with mouseover http://www.anti-pattern.net/tvo/output2.gif

Here is the HTML in the textField:

<p>The speeches at both the <a href="http://www.demconvention.com/speeches/" target="_blank">Democratic National Convention</a> last week and the <a href="http://www.gopconvention2008.com/videos" target="_blank">Republican National Convention</a> this week, have been, for me at least, must see TV.</p>

When I disable the styleSheet attached to it, the effect still occurs, but placing my mouse over it does not fix the spacing. I am using "Anti-alias for readability", and have embeded the all Uppercase, Lowercase, Numerals, and Punctuation. I will also point out that if I change the rendering setting to "Use Device fonts" the bug goes away.

Any thoughts?