In binding expressions, use “lastResult” instead of “result”.

 

You still use “result” in a handler function.

 

Tracy

 


From: [email protected] [mailto:[email protected]] On Behalf Of sahay17
Sent: Thursday, July 27, 2006 11:07 AM
To: [email protected]
Subject: [flexcoders] getting 1119: Access of possibly undefined property reference through a referenc

 

Hi,
I am new to Flex environment.Please can you help me with a
problem.When I am trying to run the following code, I am getting
error "1119: Access of possibly undefined property result through a
reference with static type mx.rpc.http.mxml:HTTPService"

Code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute" creationComplete="feedRequest.send()">
<mx:HTTPService id="feedRequest"
url="" href="http://weblogs.macromedia.com/mchotin/index.xml">http://weblogs.macromedia.com/mchotin/index.xml"
useProxy="false"/>
<mx:Label x="20" y="50"
text="{feedRequest.result.rss.channel.title}"/>
<mx:DataGrid x="20" y="80" id="dgPosts" width="400">
<mx:columns>
<mx:DataGridColumn headerText="Column 1"
dataField="col1"/>
<mx:DataGridColumn headerText="Column 2"
dataField="col2"/>
</mx:columns>
</mx:DataGrid>
<mx:TextArea x="20" y="245" width="400"/>
<mx:LinkButton x="20" y="300" label="ReadFullPost"/>
</mx:Application>
Please help me out.

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to