en el primer frame tengo este codigo:
Código :
MonXml = new XML();
MonXml.ignoreWhite = true;
MonXml.load("config/content.xml");
if (MonXml.loaded) {
gotoAndStop("done");
}
_global.Getcontent = function (xmlobject , arg) {
Nbr = xmlobject.firstChild.childNodes.length ; //
for (i=0; i <= Nbr ; i++) {
if (xmlobject.firstChild.childNodes[i].attributes.id == arg) {
content = xmlobject.firstChild.childNodes[i].toString();
}
}
gotoAndStop("done");
}
y en el frame "done"
lang="fr";
Getcontent(MonXml , lang);
muchas gracias!!! he buscado pero no encuentro lo que necesito!!!
