Ver Mensaje Individual
  #1 (permalink)  
Antiguo 11/09/2008, 05:19
neondsg
 
Fecha de Ingreso: septiembre-2008
Mensajes: 1
Antigüedad: 15 años, 7 meses
Puntos: 0
Cargar png y txt, luego mostrar todo junto al mismo tiempo

Buenassss!! Señores tengo un dilema que debe ser fácil pero no puedo lograrlo, me estanque. Les cuento, estoy realizando una aplicacion para que cargue un archivo .jpg definido dentro de un clip. Y al mismo tiempo deberia mostrar un texto en diferentes cuadros de texto con variables.

loadMovie("propiedad1.png","cargafoto");
System.useCodepage=true
Obj1 = new LoadVars();
cargatxt.htmlText = "Cargando...";
Obj1.load("propiedad1.txt");
Obj1.onLoad = function() {
localidad = Obj1.localidad;
direccion = Obj1.direccion;
lotem2 = Obj1.lotem2;
supcubm2 = Obj1.supcubm2;
dormitorios = Obj1.dormitorios;
banos = Obj1.banos;
otros = Obj1.otros;
cargatxt.htmlText = "";
cargatxt.htmlText = "<b>"+propiedad1+"</b>";
};

Ahora la cuestion es: Como hago para que una vez cargada la foto y el texto se muestre todo junto?? porque me carga el texto rapidamente y la foto se carga 2 segundos despues.

Desde ya muchas gracias

Saluda atte.

Federico Muñoz Codazzi