Hi Edwin,

very happy to here that it's help u.

///////////////////////////////////////////////////////////////////////////////////////////////////////////////




<?xml version="1.0" encoding="utf-8"?>

<mx:Application

xmlns:mx="http://www.adobe.com/2006/mxml"; layout="absolute"
creationComplete="init()" >
<mx:Script>

<![CDATA[

import mx.rpc.events.FaultEvent;

import mx.controls.Alert;

import mx.rpc.events.ResultEvent;

[Bindable]
public var xmlResult:XMLList;

public function init():void

{

httpService.send();

}

public function resultHandler(event:ResultEvent):void

{

var temp : XML = event.result as XML;

xmlResult = temp ..item;

}


public function faultHandler(event:FaultEvent):void

{

Alert.show("faultHandler:--"+event.toString());

}


]]>

</mx:Script>


<mx:HTTPService id="httpService"

resultFormat="e4x"

url="http://rss.news.yahoo.com/rss/topstories";

fault="faultHandler(event)"

result="resultHandler(event)"

showBusyCursor="true"/>

<mx:DataGrid width="100%" height="100%" dataProvider="{xmlResult}">

<mx:columns>

<mx:DataGridColumn headerText="Title" dataField="title" />

<mx:DataGridColumn headerText="Description" dataField="description" />

<mx:DataGridColumn headerText="PubDate" dataField="pubDate" />

<mx:DataGridColumn headerText="Guid" dataField="guid" />

<mx:DataGridColumn headerText="Link" dataField="link" />

</mx:columns>

</mx:DataGrid>


</mx:Application>
////////////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////////////////////////////////////

Thanks & Regards
Ashutosh Pandey
+91 9582734522


"Research is what I'm doing when I don't know what I'm doing."




On Tue, Jan 26, 2010 at 9:32 PM, <[email protected]> wrote:

> hi al,
> I need to add an RSS feed to my Flex App.
> Can someone please send me a link or code to this.
> This is actually verrrrrrrrrrrry urgent.
>
> I appreciate any help.
> See Attached.
>
> Thanks
> Edsaid
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to