
Display a selected item 117
A browser opens and runs the application.
Blog titles and dates should appear in the DataGrid control, confirming that the
application successfully retrieved data from the RSS feed and populated the control.
Display a selected item
When the user selects a post in the DataGrid control, you want the application to display the
first few lines of the post in the TextArea control. In the item node of the XML feed, this
information is contained in a field called description.
1. In Source mode, enter the following htmlText property (in bold) in the <mx:TextArea>
tag:
<mx:TextArea x="20" y="175" width="400"
htmlText="{dgPosts.selectedItem.description}" />
Comentários a estes Manuais