el archivo de configuracion, dise asi:
Código :
//////////////////////////////////////////////////////////////
// Based on which kind of back-end you will use
// uncoment asp or php line
// remember you need to see this trough your local server
// If you want to see from the flash IDE, change the path to your
// file using an absolute URI to your server, like
// myData.load("http://localhost/anastasio.php")
/////////////////////////////////////////////////////////////
System.useCodepage = true;
//Create LoadVars object and load file
myData = new LoadVars();
//myData.load("anastasio.asp") //asp line
myData.load("http://www.lawebquediseño.com/es/lenguaje.php");
//php line
myData.ref = this;
//Fetch data
myData.onLoad = function(succes) {
if (succes) {
for (var i = 0; i<this.cant; i++) {
//flashindex
this.ref["MenuInicio"+i].text = this["menu_inicio"+i];
}
} else {
trace("Error loading data");
}
};
stop();el caso que el archivo de configuracion que va aparte (lenguaje.php) salen bien los datos reflejados... alguien me puede decir en que cree que puedo fallar?
gracias
