If you set the itemRenderer to mx:Image, and dataField set to
WeatherImage you should see the image.

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Praveen Saxena
Sent: Thursday, May 17, 2007 8:39 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to display the Image

 


Hi,
Is it possible to put the image in the datagrid after getting the 
the image url from the XML file.
My sample Xml look like this.
<WeatherData>
<Day>Saturday, May 19, 2007</Day>

<WeatherImage>http://www.nws.noaa.gov/weather/images/fcicons/few.jpg
<http://www.nws.noaa.gov/weather/images/fcicons/few.jpg> </We
atherImage>
<MaxTemperatureF>76</MaxTemperatureF>
<MinTemperatureF>43</MinTemperatureF>
<MaxTemperatureC>24</MaxTemperatureC>
<MinTemperatureC>6</MinTemperatureC>
</WeatherData>
My requirement is display the image after from the URL specified in the
"WeatherImage" tag.
Thanks & Regards,
Praveen

 

Reply via email to