I have a simple Atom feed reader application using the grid control. When you click and item on the grid, a text area is populated with the contents of one of the feed elements ("content")
It works great unless the content element contains HTML: A sample content Atom element with HTML looks like this: <content type="xhtml">This is a link <a href="http://www.example.com">click here</a></content> This results in [object Object] appearing in the TextArea. Any ideas for what's wrong? Here is relevent application code code: <mx:DataGrid id="titleList" dataProvider="{atomUrl.lastResult.feed.entry}" width="100%" height="100%"> <mx:columns> <mx:DataGridColumn dataField="title" headerText="Title" /> <mx:DataGridColumn dataField="id" headerText="ID" /> </mx:columns> </mx:DataGrid> <mx:TextArea id="content" width="100%" height="100%" htmlText="{titleList.selectedItem.content}"> </mx:TextArea>