resulta que estaba programando con AS3 estaba cargando un xml en un tilelist y para hacer mis pruebas trabajo con mi servidor local entonces resulta que pongo el siguiente codigo :
Código :
import fl.controls.TileList;
import fl.data.DataProvider;
var baseURL:String="http://localhost/xmlimagenes/thumb/";
var imagesXML:XML = <images>
<img src="01.jpg" alt="Image 1" />
<img src="02.jpg" alt="Image 2" />
<img src="03.jpg" alt="Image 3" />
</images>;
var dp:DataProvider=new DataProvider(imagesXML);
var myTileList:TileList = new TileList();
myTileList.dataProvider=dp;
myTileList.labelField="alt";
myTileList.sourceFunction=mySourceFunction;
myTileList.width=300;
myTileList.columnWidth=150;
myTileList.rowHeight=150;
myTileList.rowCount=1;
myTileList.move(10, 30);
addChild(myTileList);
function mySourceFunction(item:Object):String {
return baseURL + item.src;
}y todo perfecto, salen mis tres imagenes que tengo en esa dirección pero cuando cambio
Código :
var baseURL:String="http://localhost/xmlimagenes/thumb/";
por mi servidor de pruebas
Código :
var baseURL:String="http://pispipepe.zobyhost.com/thumb/";
me sale el siguiente error:
Código :
Error #2044: Unhandled ioError:. text=Error #2124: Loaded file is an unknown type. URL: http://pispipepe.zobyhost.com/thumb/03.jpg
las tres imegenes me marcan el mismo error y si existen aqui estan http://pispipepe.zobyhost.com/thumb/03.jpg
siendo que esa direccion si existe y tambien la imagen, alguien tiene alguna idea de que me esta pasando que estoy haciendo mal. gracias de antemano.
una cosa mas el servidor local y el externo tienen la misma estructura de archivos.
