Ver Mensaje Individual
  #4 (permalink)  
Antiguo 11/10/2006, 20:22
Avatar de stock
stock
 
Fecha de Ingreso: junio-2004
Ubicación: Monterrey NL
Mensajes: 2.390
Antigüedad: 19 años, 10 meses
Puntos: 53
lo que te digo es que pongas este codigo en la linea principal de tiempo
Código:
Obj2 = new LoadVars();
Obj2.load("recreacion.txt");
_parent.Txtdinam.myTexto2.htmlText = "Cargando...";
Obj2.onLoad = function() {
titulo = Obj2.titulo.split("@@@");
descripcion = Obj2.descripcion.split("@@@");
fuente = Obj2.fuente.split("@@@");
separador = "-------------------------";
Txtdinam.myTexto2.htmlText = "";
for (var i = 0; i<titulo.length; i++) {
Txtdinam.myTexto2.htmlText += "</br></b>"+"</u></b></em>"+titulo[i]+"</u></b><br>"+descripcion[i]+"<br></i>"+fuente[i]+"</b>"+"</a></i></u>"+"<br>"+separador;
}
};
con sus respectivos cambios en las rutas

luego dentro de cada boton, ni no quieres hacer una funcion, invoques ala instancia de la clase LoadVars, a la que tu llamaste Obj2, y ejecutes el metodo load de este con el respectivo parametro.

algo asi:

_root.Obj2.load("archivo.txt");

have funnnnnnn