HTML in XML to load into Flash

Hi,

I am trying to load an XML file that includes some HTML tags, into Flash, and Flash does not display the HTML formatted text. Could you please advice?

Thanks.

XML:


<?xml version="1.0" encoding="UTF-8"?>
<images>
<pic>
<image>b15_0815.jpg</image>
<client><i>School</i></client>
<project>tube</project>
<link>none</link>
</pic>
</images>

Actionscript:


function loadXML_a (loaded) {
	if (loaded) {
		xmlNode_a = this.firstChild;
		total_a = xmlNode_a.childNodes.length;
		for (i = 0; i < total_a; i++) {
			image_a* = xmlNode_a.childNodes*.childNodes[0].firstChild.nodeValue;
			client_a* = xmlNode_a.childNodes*.childNodes[1].firstChild.nodeValue;
			project_a* = xmlNode_a.childNodes*.childNodes[2].firstChild.nodeValue;
			link_a* = xmlNode_a.childNodes*.childNodes[3].firstChild.nodeValue;
		}
		firstImage_a ();
		};
	} else {
		content = "file not loaded!";
	}
}

xmlData_a = new XML ();
xmlData_a.ignoreWhite = true;
xmlData_a.onLoad = loadXML_a;
xmlData_a.load ("slideshow_samples/samples.xml");


caption_mc.client_txt.html = true;
caption_mc.project_txt.html = true;

function firstImage_a () {
	caption_mc.client_txt.htmlText = client_a[0];
	caption_mc.project_txt.htmlText = project_a[0];	
}