Please help me with this.. I am getting the following error
-- 1119: Access of possibly undefined property result through a reference with static type mx.rpc.http.mxml:HTTPService.. The code i am using is as follows.. I am getting the the error in the line where the tag <mx:Model> is defined.. Pleae let me know if I can use the xml file, which is in my local computer when using the following code.. <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" width="100%" height="100%" initialize="srv.send()"> <mx:HTTPService id="srv" url="data.xml"/> <mx:Model id="results">{srv.result.data.result}</mx:Model> <mx:LineChart id="chart" dataProvider="{results}" showDataTips="true" width="100%" height="100%"> <mx:horizontalAxis> <mx:CategoryAxis dataProvider="{results}" categoryField="month"/> </mx:horizontalAxis> <mx:series> <mx:Array> <mx:LineSeries yField="apple" name="Apple"/> <mx:LineSeries yField="orange" name="Orange"/> <mx:LineSeries yField="banana" name="Banana"/> </mx:Array> </mx:series> </mx:LineChart> </mx:Application> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

