I am venturing development on mobile apps using Flex.
I am trying to use HttpService to connect to a url which returns an XML data.
<s:HttpService id="test" url="UrlToConnectTo" />
And in the script:
private function init() :void
{
test.send();
}
And the lastResult of the service I am binding to a List..
<s:List id="list" top="0" bottom="0" left="0" right="0"
dataProvider="{test.lastResult.Item.FiscalYear }"
labelField="ItemDescription"/>
Are there other alternate means of handling data returned by services? I would like to inspect the data, but I am not sure what type of data it is after being bound to the list (array, arraycollection??).
Side Note: I can also get the data via JSON, but I am unable to bind the data retrieved properly to the list control.
Appreciate any links / insights provided.