Ver Mensaje Individual
  #2 (permalink)  
Antiguo 07/02/2007, 10:19
Avatar de sirguy
sirguy
 
Fecha de Ingreso: septiembre-2006
Ubicación: Mallorca
Mensajes: 959
Antigüedad: 17 años, 7 meses
Puntos: 12
Re: cargar .txt en textarea

var cargador_lv:LoadVars = new LoadVars();
cargador_lv.load("textarea.txt");

cargador_lv.onLoad = function(exito) {

if (exito) {

nombredeinstanciadelatextarea.text = this.nombre;

} else {

nombre_txt.text = "error";
}
};



En el txt pones:

nombre=aquíeltextoquequieres