Hi all, This is wired. It seems html text in a flash 7 swf behaves differently than html text in a flash 8 swf.
var myText ="<p><b>Headline</b></p> <p>Some text</p>"; this.myTextField.html = true; this.myTextField.htmlText = myText; the swf 7 text filed displays: HeadlineSome text // the whitespace between the p tags is ignored. the swf 8 text filed displays: Headline Some text Note that I use the flash 8 player to view both swf files. I have a few xml documents which have a lot of html formatted text in an CD-DATA tag. Getting rid of the whitespace between the html tags would be a bit of a nightmare + the XML document would not be readable/editable anymore. Any ideas how to get around this problem? Cheers Robin _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

