Skip navigation
Currently Being Moderated

About HTTPService Result

Mar 18, 2013 11:47 PM

Tags: #error #httpservice #arraycollection

Hi Friends,


I have an HTTPService that I am having problem trying to use the returned data. I have a ColdFusion Component that returns the data in an XML format.


When I use dataProvider="{objService.lastResult.projdata.datarows}" it works fine and the linechart shows data.


But, when I try to use the returned data in the 'result' event with an event handler, the chart is blank. Can anyone tell me what might be going wrong? My code in the result handler looks like this


<mx:ArrayCollection id = "acProjData" source="{ArrayUtil.toArray(event.result.projdata.datarows)}"/>


The variable 'acProjData' has already been declared as a bindable variable using



private var acProjData:ArrayCollection;


I am not very much familar with Flex 4.5 programming. I am just trying to learn it and hoping to get my prototype working. Thanks.

- Milind Joshi


More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points