todo me funciona hasta que le intento pasar el valor al texto. Tiene que haber una solucion sencilla a este
pequenyo problema. Adjunto como comentarios las opciones que he probado. Gracias.
_global.generatexto = function(idn) {
//ajusta el id
var idf = idn-1;
mixml = new XML();
mixml.load("XML/memo.xml");
mixml.ignoreWhite = true;
mixml.onLoad = function(exito) {
if (exito) {
var inx = mixml.firstChild.childNodes[vi];
var fintxt = inx.childNodes[1].childNodes[idf].firstChild.NodeValue; //hasta aqui todo bien
var cal = "txt"+idn; //Nombre final del texto dinamico.
//txt(idn).text = fintxt;
//txt[idn].text = fintxt;
//cal.value.text = fintxt;
//cal.text = fintxt;
}
};
};
Gracias de antemano.