I know by a parameter that the HTTPService sends back to me
that contains the image URL. However, the image URL is not in the
source folder in the app. It is located at a remote location, so
the url takes the form of "
http://www.test.net/09/image.jpg".Maybe i am formatting the image wrong, because I am still getting
no result in the data grid. This is what i am getting back from the
HTTPService:
<images>
<image>
<image_name></image_name>
<image_url></image_url>
<keywords></keywords>
</image>
</images>
and this is my data grid:
<mx:DataGrid x="10" y="10" width="640" height="140"
dataProvider="{imageReturn.lastResult.images}"
id="communityImages">
<mx:columns>
<mx:DataGridColumn headerText="Image" >
<mx:itemRenderer>
<mx:Component>
<mx:Image source="{image.image_url}"/>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
<mx:DataGridColumn headerText="Name"
dataField="{image.image_name}"/>
<mx:DataGridColumn headerText="Keywords"
dataField="{image.keywords}" visible="false" />
</mx:columns>
</mx:DataGrid>
maybe I'm formatting it wrong. I'm not sure. Help Me with
this and my problems will be solved.