1 person found this helpful
work-around: use actionscript to format your textfield(s); either stylesheet (easier) or textformat (more laborious).
If I was going to do everything in ActionScript, I wouldn't have bought Flash Professional, I'd have just compiled with the flex compiler for free. 99% of my stuff is pure AS3 anyway, with a lot of drawing commands and even embedded objects like pixel shader binaries. It's just annoying that I can't use the Flash Professional visual designer as intended to perform WYSIWYG layout, because paragraph formatting is broken. It's not copying the values from the UI into the final HTML for the text field. I find like 3 new serious bugs every single day I use Flash, and for the amount of time I spend debugging the IDE and filing bug reports, Adobe should be paying me to use their product, not the other way around.
The only real "workaround" to perform proper paragraph formatting in the visual editor is to use the TLF, which should have been integrated into the Flash Player to begin with instead of existing as an RSL that has to be specially referenced by any project that uses it, cluttering the external library reference list. Someone needs to build a Flash IDE inside Flash that specifically generates classes for library symbols with all the necessary code in the constructor to build the symbol, so it runs online and is truely WYSIWYG (perhaps something like Gliffy: http://www.gliffy.com/gliffy/#templateId=blank&signup=1 (this link bypasses login)
I still can't get a static text field to look the same as the dynamic one. The closest I can get it match is by setting render as HTML on and setting the field to multiline, but characters still shift slightly. TLF text, on the other hand, has perfect consistancy, and edit mode lines up perfectly with non-edit mode, which is exactly how it should have operated from the beginning (like back in MX days).
Then of course there is this problem: http://www.stevensacks.net/2010/05/28/flash-cs5-tlf-engine-causes-errors-with-loaded-swfs/