I have next problem in FinalcialNews.mxml class:
1119: Access of possibly undefined property result through a
reference with static type mx.rpc.http.mxml:HTTPService.
Portfolio_RCP FinancialNews.mxml /Portfolio_RCP/FinancialNews.mxml
1155885561968 116FinalcialNews.mxml´s code is (problem line in black) :
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="
http://www.adobe.com/2006/mxml"xmlns="*" width="100%" height="100%">
<mx:DataGrid id="newsGrid" width="100%" height="100%"
dataProvider="{newsList}" variableRowHeight="true">
<mx:columns>
<mx:Array>
<mx:DataGridColumn headerText="Date" dataField="pubDate"
width="200"/>
<mx:DataGridColumn headerText="Title" dataField="title"
wordWrap="true" />
<mx:DataGridColumn headerText="Description"
dataField="description" wordWrap="true" />
<mx:DataGridColumn headerText="Link" width="130">
<mx:itemRenderer>
<mx:Component>
<mx:LinkButton label="{data.link}"
click="navigateToURL(new URLRequest(data.link),
'_blank')"/>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
</mx:Array>
</mx:columns>
</mx:DataGrid>
<mx:XMLListCollection id="newsList"
source="{newsFeed.result.channel.item}" /> <mx:HTTPService id="newsFeed" useProxy="true"
destination="YahooFinancialNews" concurrency="last"
resultFormat="e4x" >
</mx:HTTPService>
<mx:Script>
<![CDATA[
public function set security(value: String):void {
newsFeed.send({s:value});
}
]]>
</mx:Script>
</mx:Canvas>
What can i do to solve it???
Thanks.