flash doesn't understand the align attribute. use a textformat instance and assign its align instance (if you need to). you don't need to because left is the default alignment.
Yes. I even tried it without specifying alignment in the code since the text field alignment throught the flash GUI was already set to Left. This still does not work. I get the sae bad formatting.
It is strange that if you just run it in the Flash environment, it works but when on an actual web page in IE it does not. Yet an align of center or justify works.
Is this a Flash bug perhaps?
create a fla that contains just the textfield and the code you posted and demonstrates the problem. attach it to this forum AFTER changing its file extension to .swf
Is it too late to revive this discussion ...?
I just discovered that one of my old AS2 projects has the same problem. A multiline TextField with htmlText that works fine in the Flash IDE, and fine in IE8, but in Firefox it behaves rather strange: each paragraph appears on exactly two lines, no matter how long it is! It always breaks before the last word of the paragraph, even if the whole of the line is shorter than the textfield width.
But this behaviour only shows up if the text is loaded in from an XML file! If the same text is simply assigned to a string, it works normally.
After reading the last post I actually isolated the text field into a small .fla that demonstrated, but I can't see any way of attaching it to this post ... - am I blind? or am I supposed to pretend it's a video ..?
Anyway, if anyone recognises this problem and can help, I would greatly appreciate any tips!
yes. start a new thread.