var Idioma = "es"/*_root.Lengua*/;
System.useCodepage = true;
var textoInterface:XML = new XML();
textoInterface.ignoreWhite = true;
sections = new Array();
textoInterface.load("XML/interface-"+Idioma+".xml");
textoInterface.onLoad = function()
{
sections["soluciones"] = textoInterface.firstChild.firstChild.childNodes[0].attributes.titulo;
sections["smart"] = textoInterface.firstChild.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
sections["quees"] = textoInterface.firstChild.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
sections["productos"] = textoInterface.firstChild.firstChild.childNodes[1].attributes.titulo;
sections["sistemas"] = textoInterface.firstChild.firstChild.childNodes[1].childNodes[0].firstChild.nodeValue;
sections["pintura"] = textoInterface.firstChild.firstChild.childNodes[1].childNodes[1].firstChild.nodeValue;
sections["complementos"] = textoInterface.firstChild.firstChild.childNodes[1].childNodes[2].firstChild.nodeValue;
sections["contactar"] = textoInterface.firstChild.firstChild.childNodes[2].attributes.titulo;
sections["datos"]=textoInterface.firstChild.firstChild.childNodes[2].childNodes[0].firstChild.nodeValue;
sections["bkpag"]=textoInterface.firstChild.firstChild.childNodes[2].childNodes[1].firstChild.nodeValue;
}
recordad que ya lo he probado con _global tanto al crear como al referirme al array desde dentro de la función.
