Doug, Thanks for that. Problem solved. I tried calling a function from the attribute source before, but didn't add the curly braces.
On 1/31/07, Doug Lowder <[EMAIL PROTECTED]> wrote:
Try the following in the icons.mxml file: <mx:Image id="image_id" x="20" height="20" source="{ data.file_extension=='php'? php : folder}" /> If that works, I'm sure it will get you on your way to a complete solution. Good luck! Doug --- In flexcoders@yahoogroups.com, "cisnky" <[EMAIL PROTECTED]> wrote: > > I'm still having problems getting my icons to render in the datagrid. > > I've uploaded the app with source to the following location. > > http://www.tsuma.biz/flex/filebrowser/ > > Xml pulled in via the http request. > > http://www.tsuma.biz/flex/filebrowser/file_directory_list.php > > Does anybody know why my embed images are not being found. >