PDA

View Full Version : Anchors in dynamic textbox


Ricod
07-18-2005, 10:31 PM
Ehrm, I actually don't know if this one should go here on in the Flash MX 2004 forums, so if anyone knows, let me know okay ? :(

It's a small problem only, but here it is :

I'm loading some html formatted text into a dynamic textbox. The anchor tag for a link is properly closed, yet somehow, the link continues in the 'whitespace' area (I don't know if this is correct terminology, so just humour me for the moment please). Anyone have an idea what's causing this ? Or better, how to get rid of it ? ;)

Any advice would be much appreciated. :)

ufitzi
07-19-2005, 11:27 PM
no idea, try fooling with the HTML.
But a <br> after the anchor, or a <br clear = 'all'>, maybe a <p>, try to get it to ignore the rest of that line.

Good luck

bh

Ricod
07-20-2005, 06:20 PM
Thanks for the suggestion ufitzi !

The problem was a bit of a weird one. The paragraph tags seemed to be affected by the anchor. One I removed those, the problem was solved.

What's also weird, is that anchors don't work when I try it locally, but once uploaded it works fine ... oh well, better that than the other way around.