Ver Mensaje Individual
  #2 (permalink)  
Antiguo 27/02/2008, 14:37
Lrul
 
Fecha de Ingreso: febrero-2008
Mensajes: 24
Antigüedad: 16 años, 1 mes
Puntos: 0
Re: Carga datos desde un archivo y mostrarlos

esta es mi funcion de cargar...

cargador_lv.load("Variables.txt");

cargador_lv.onLoad = function(exito) {
//Si las variables fueron cargadas con exito
if (exito) {
f1.text = this.f1;
f2.text = this.f2;
f3.text = this.f3;
n1.text = this.n1;
n2.text = this.n2;
n3.text = this.n3;

} else {
//Mostrar mensaje de error en el campo de texto
f1.text = "Error!! :(";
}


y esta accion la tengo un boton

on (release) {
cargador_lv.load("variables.txt");
}