Ver Mensaje Individual
  #1 (permalink)  
Antiguo 06/06/2008, 17:24
vljc2004
 
Fecha de Ingreso: mayo-2006
Mensajes: 137
Antigüedad: 18 años
Puntos: 1
Mi datagrid no se llena

Hola, estoy aprendiendo flex y estoy haciendo una galeria, del lado izquierdo se muestra la imagen y del derecho los nombres del archivo, el problema q las imagenes si se ven pero los nombre del archivo no.

Mi xml es este:

Código:
<photos>
<imagen>
	<nombre>uno</nombre>
	<src>C:\Documents and Settings\mov_12-18_85.jpg</src>	
</imagen>
Y en flex lo tengo asi:

Código:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="gal.send()"  borderColor="#0D91EE">
<mx:HTTPService id="gal" url="C:\Documents and Settings\12 hrs.xml" useProxy="false"/>
	<mx:Panel width="583" height="342" title="Dia:"  layout="absolute">
	<mx:Image id="imago" data="{pi.selectedItem.src}" horizontalAlign="center" left="22" right="208" top="10" bottom="40"/>
	<mx:DataGrid id="pi"  dataProvider="{gal.lastResult.photos.imagen}"  x="372" y="10" height="282" width="181">
		<mx:columns>
            <mx:DataGridColumn headerText="{pi.selectedItem.photos.imagen.nombre}" dataField="titulo"/>
         </mx:columns>
      </mx:DataGrid>
	</mx:Panel>
</mx:Application>
por su ayuda gracias!