i think that textfields treat returns (\n or \r) in what it expects to be html text as whitespace
i'd recommend wrapping any html in <![CDATA[ ]]> and just inserting them wholesale rather than getting them as children of a node so <thexml> <mynode><![CDATA[<p>This is a test. <em>Do not adjust your set</em>.</p><p>My second paragraph</p>]]></mynode> </thexml> which can be brought into a textfield like this myText.htmlText = xml.mynode; On 1 June 2010 20:20, Lehr, Theodore <ted_l...@federal.dell.com> wrote: > To me, at least, this seems very weird... I have a textfield I am creating > in as... I am doing something like this: > > main_txt.htmlText = "Question: > "+xmlData.children()[i].children()[0]+"<br/>xxxx"; > > If I have a line break <br/> IN the xml - it shows up... but the line break > that is hardcoded in that line does NOT show up... why would that be? > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders