Código :
Obj2 = new LoadVars();
Obj2.load("data_varias.txt");
cabecera.myTexto2.htmlText = "Cargando...";
Obj2.onLoad = function() {
titulo = Obj2.titulo.split("@@@"); // Con Split marco el 2 titulo que tiene que cargar y asi con cada variable..
descripcion = Obj2.descripcion.split("@@@");
fuente = Obj2.fuente.split("@@@");
separador = "----------------------------------------------------------";
cabecera.myTexto2.htmlText = "";
for (var i = 0; i<titulo.length; i++) {
cabecera.myTexto2.htmlText += "<b>"+"<u>"+titulo[i]+"</u></b><br>"+descripcion[i]+"<br><br>"+"</u>"+"<br>"+separador;
}
Bien este codigo lo que hace es tomarme la variable titulo, descripcion, fuente y separador para qeu a travez de un bucle me cargue cada uno de los textos... Hasta ahy va JOYA, ahora lo que yo necesito es colocar un texto o mc que me permita leer mas, vean....
Código :
Obj2 = new LoadVars();
Obj2.load("data_varias.txt");
cabecera.myTexto2.htmlText = "Cargando...";
Obj2.onLoad = function() {
titulo = Obj2.titulo.split("@@@");
descripcion = Obj2.descripcion.split("@@@");
fuente = Obj2.fuente.split("@@@");
imagen = Obj2.imagen.split("@@@");
// aca poner LEER MAS, y al darle el clic que salte a x fotograma...
separador = "----------------------------------------------------------";
cabecera.myTexto2.htmlText = "";
for (var i = 0; i<titulo.length; i++) {
cabecera.myTexto2.htmlText += "<b>"+"<u>"+titulo[i]+"</u></b><br>"+descripcion[i]+"<br><br>"+"</u>"+"<br>"+separador;
}
si alguien se le ocurre algo buenisimo, mientras seguire pensando... cualquier duda aca estoy, paso 12 horas en frente de la pc, me voy a volver loco, un saludo Amigos..
