Dynamic textfield won't render html :|

hi all,

I’m trying to load this variable from an external text file into an dynamic textfield:

tekst=<TEXTFORMAT LEADING=“2”><P ALIGN=“LEFT”><FONT FACE=“Arial” SIZE=“12” COLOR="#000000">test</FONT></P></TEXTFORMAT>

…the textfield remains empty.

tekst=<b>hi</b> all

…here the textfield does render the text correctly with html.

something wrong with my code?


loadText = new LoadVars();
loadText.load("content.txt");
loadText.onLoad = function() {
	_root.field.html = true;
	_root.field.htmlText = loadText.tekst;
};

any help would be greatly appreciated guys… i’m at a loss here