0 Replies Latest reply on Jun 6, 2008 7:36 PM by ajesing

    Scroll RSS Feed Data In A Text Area

    ajesing
      I have a small flex code which gets RSS Feeds and displays in a text
      area.


      Is it possible to get the RSS Feeds durectly in a text area and it
      should automatically scrolls the RSS feed description in the text
      area?


      Below is my sample code?


      ******


      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml"
      layout="absolute" width="100%" height="100%"
      horizontalAlign="center" verticalAlign="middle"
      initialize="RSSfeed.send()" >
      <mx:HTTPService showBusyCursor="true" id="RSSfeed"
      url=" http://newsrss.bbc.co.uk/rss/newsplayer_world_edition/health/
      rss.xml" resultFormat="object" />
      <mx:Panel width="230" height="330"
      layout="absolute" horizontalCenter="0"
      verticalCenter="-11.5" resizeEffect="Resize" title="HPB Podcasts" >
      <mx:DataGrid width="200" id="entries"
      dataProvider="{RSSfeed.lastResult.rss.channel.item}"


      click="{body.htmlText=RSSfeed.lastResult.rss.channel.item[entries.selectedIndex].descript ion}"
      horizontalCenter="0" verticalCenter="-48" >
      <mx:columns> <mx:DataGridColumn dataField="title"
      headerText="Title" width="100"/>
      <mx:DataGridColumn dataField="pubDate"
      headerText="Date" width="60"/>
      </mx:columns> </mx:DataGrid>
      <mx:TextArea width="215" height="120" id="body"
      verticalCenter="60"
      horizontalCenter="0"/>
      </mx:Panel> </mx:Application>


      ************