Replace your as code with:
Code:
var smth=0;
textBox.html=true;
var myXML1 = new XML();
myXML1.ignoreWhite=true;
myXML1.onLoad = function(success) {
if(success) {
pop();
}
}
function updateContent()
{
textBox.htmlText = comboBox.value[0]["txtContent"];
loadMovie(comboBox.value[0]["image"], iconBox)
}
myXML1.load("1.xml");
function pop()
{
rootNode = myXML1.firstChild;
for(var i:Number = 0; i < rootNode.childNodes.length; i++)
{
comboLabel = rootNode.childNodes[i].childNodes[0].firstChild.nodeValue;
comboBox.addItem({label:comboLabel, data:[{txtContent:rootNode.childNodes[i].childNodes[1].firstChild.nodeValue, image:rootNode.childNodes[i].childNodes[2].firstChild.nodeValue}]})
}
comboBox.addEventListener("change", updateContent);
updateContent();
}
You can define your underline in the XML file itself:
Code:
<![CDATA[ 234 and this is a <u><a href='http://www.hotmail.com'>link</a></u> ]]>