Foros del Web » Creando para Internet » Flash y Actionscript »

Problema al cargar fotos Thumbnails

Estas en el tema de Problema al cargar fotos Thumbnails en el foro de Flash y Actionscript en Foros del Web. Muy buenas tengo un problema al cargar una fotos, lo hago mediante el metodo thumbnails a un flash. El problema es que aqui en local ...
  #1 (permalink)  
Antiguo 31/08/2009, 09:55
 
Fecha de Ingreso: marzo-2009
Mensajes: 4
Antigüedad: 15 años, 2 meses
Puntos: 0
Problema al cargar fotos Thumbnails

Muy buenas tengo un problema al cargar una fotos, lo hago mediante el metodo thumbnails a un flash. El problema es que aqui en local me funciona correctamente y cuando lo cuelgo en internet se me queda la primera foto en cargando y de ahi no pasa, el código que he escrito es el siguiente, y lo alojo en ARSYS.

var filename_list = new Array();
var url_list = new Array();
var url_target_list:Array = new Array();
var title_list = new Array();
var description_list = new Array();
var filepath:String = "thumbnails/";

var flashmo_xml = new XML();
flashmo_xml.ignoreWhite = true;
flashmo_xml.onLoad = function()
{
var nodes:Array = this.firstChild.childNodes;
for(var i=0;i<nodes.length;i++)
{
filename_list.push(nodes[i].attributes.filename);
url_list.push(nodes[i].attributes.url);
url_target_list.push(nodes[i].attributes.target);
title_list.push(nodes[i].attributes.title);
description_list.push(nodes[i].attributes.description);
}
}
flashmo_xml.load("flashmo_104_template_list.xml");

El fichero flashmo_104_template_list.xml contiene lo siguiente:

<?xml version="1.0" encoding="utf-8"?>

<thumbnails>
<thumbnail filename="foto1.jpg" url="\fotos\foto1.jpg" target="_parent"
title="Item No. 1"
description="Foto1" />
<thumbnail filename="foto2.jpg" url="\fotos\foto2.jpg" target="_parent"

</thumbnails>
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 17:50.