FlexBuilder初次使用手记

Adobe收购了MicorMedia后推除了FlexBuilder2.0 。因为本人对Flash比较喜欢,所以就装了个FlexBuilder2.0看着它的帮助做了一个程序,感觉挺不错的,我做的就是它帮助里的第一个程序,rss阅读器,下面是全部的代码
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="freedRequest.send()">

 <mx:HTTPService id="freedRequest" url="http://www.cnblogs.com/interboy/category/61221.html/rss" useProxy="false"/>

 <mx:Panel x="45" y="20" width="604" height="494" layout="absolute" title="{freedRequest.lastResult.rss.channel.title}" cornerRadius="12">
  <mx:DataGrid x="20" y="20" width="554" id="dgPosts" dataProvider="{freedRequest.lastResult.rss.channel.item}">
   <mx:columns>
    <mx:DataGridColumn headerText="Posts" dataField="title"/>
    <mx:DataGridColumn headerText="Date" dataField="pubDate" width="150"/>
   </mx:columns>
  </mx:DataGrid>
  <mx:LinkButton x="20" y="422" label="Read Full Post" click="navigateToURL(new URLRequest(dgPosts.selectedItem.link));"/>
  <mx:TextArea width="554" htmlText="{dgPosts.selectedItem.description}" height="229" editable="false" y="185" x="20"/>
 </mx:Panel>
 
</mx:Application>

原文地址:https://www.cnblogs.com/interboy/p/531115.html