Link not working

Could anyone explain to me why the links contained in this bit of my AS don’t work when I open the swf through an html page in IE? They work fine on the swf alone and work on the html page if I publish it as flash 6, but not as flash 7 or 8. The swf accesses a xml file.

DisplayNodes = function(nodes, field_txt){
 field_txt.htmlText = "";
 var entry;
 var separator = "<br>___________________________________________<br><br>";
 for (var i=0; i<nodes.length; i++){
  entry = "";
  entry += "<b>"+ nodes*.childNodes[0].firstChild.nodeValue +"</b>";
  entry += " : "+ nodes*.childNodes[1].firstChild.nodeValue;
  entry += "<br>"+ nodes*.childNodes[2].firstChild.nodeValue;
  if (nodes*.attributes.url.length){
   entry += "<br><a href='" + nodes*.attributes.url, "_blank";
   entry += "'target='_blank'><font color='#0000FF'>For more information visit the site...</font></a>";
  }
  field_txt.htmlText += entry + separator;
 }
}

Thank you for any help provided.