Loading in html trouble

Hello,

I’ve bumped in to this, to me, odd problem when loading in any html. It loads in, where placed putting the format to text (eg <B>) but, spaces between an ending tag of one, and the begin tag of another formatted piece of text, dissapear :cross-eye

eg something like this:


<html>
<body>
<u>hello</u> <u>my</u> <u>name</u> <u>is</u>
</body>
</html>

would show : hellomynameis instead of hello my name is

I load this html using loadVars

ActionScript Code:

[FONT=Courier New][LEFT]</p>
<p>readContent = [COLOR=#000000]new[/COLOR] [COLOR=#0000ff]LoadVars[/COLOR]COLOR=#000000[/COLOR];</p>
<p>readContent.[COLOR=#0000ff]onData[/COLOR] = [COLOR=#000000]function[/COLOR]COLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR]</p>
<p> [COLOR=#0000ff]_root[/COLOR].[COLOR=#000080]someText[/COLOR].[COLOR=#0000ff]htmlText[/COLOR] = bla;</p>
<p>[COLOR=#000000]}[/COLOR];</p>
<p>readContent.[COLOR=#0000ff]load[/COLOR]COLOR=#000000[/COLOR];</p>
<p>

[/LEFT]

[/FONT]

into a input textfield (tried on a dynamic textfield with the same result)

i traced the contenttype, and that is what flash sais it wants in flash help : application/x-www-form-urlencoded.

Is what i want - being able to load in HTML, underlining words without having underlined space in between, into a textfield - possible without having to mess in the html code - i “found out” replacing all spaces in the html file for %a0 does work, i assume because Flash sees it as some character orso - but well i assumed flash would/could, should be able to load in HTML properly :hangover:

Any help, sympathising comments, anything! very much appreciated :beam:

peace