Código :
for (aa=_root.elegirnoticia; aa<noticias_xml.firstChild.childNodes.length; aa++) {
ref = noticias_xml.firstChild.childNodes[aa].attributes.ref;
//Se accede al primer hijo de elemento [noticia] y se recupera al valor del primer elemento de [titulo]
titulo = noticias_xml.firstChild.childNodes[aa].firstChild.firstChild.nodeValue;
//Se accede al segundo hijo de elemento [noticia] y se recupera el valor del primer elemento de [mensaje]
mensaje = noticias_xml.firstChild.childNodes[aa].firstChild.nextSibling.firstChild.nodeValue
//Se accede al último hijo de elemento [noticia] y se recupera el valor del primer elemento de [imagen]
image = noticias_xml.firstChild.childNodes[aa].lastChild.firstChild.nodeValue
//Mostrando los datos recuperados en el cuado de texto mensaje_txt y cargando la imagen en pantalla_mc
this.mensaje_txt.htmlText += "<p><font color='#A87A00' size='11'><b>ref.: " + ref + "</b></font></p>";
if (image != null){
this.mensaje_txt.htmlText += "<img src=\"img/" + image + "\" align =\"middle\"><br><br><br><br><br><br><br>";
}
this.mensaje_txt.htmlText += "<font size='11' color='#333333'><B>" + titulo + "</B></font>";
this.mensaje_txt.htmlText += "<font size='10'>" + mensaje + "</font><br><br>";
} "_root.elegirnoticia" en el primer frame si por defecto está vacio le doy un valor "0" sino el valor se lo da una botonera q generé a la izquierda.
Para que puedan verlo online: http://www.oxean.com.ar/clientes/ocsa/micrositio/home.htm
Quiero solamente un ejemplo simple para mostrar gran cantidad de información, porque con poca cantidad funciona ... y no encuentro que estoy haciendo para que el script genere conflicto.
Gracias, de antemano
