Created
August 31, 2010 06:38
-
-
Save henrydjacob/558650 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//retrieve XML from restfulx service update the details | |
var xmlOpts:Object = { URL: "people/summary_by_city.xml", method: "POST", | |
data: {city: 'chennai'}, unmarshall: false}; | |
Rx.http(function(result:XML):void { | |
cityWiseSummary = result; | |
for each (var city:XML in cityWiseSummary .*) { | |
child['city_name'] = Rx.models.showById(City, child['city_id']); | |
} | |
}).invoke(xmlOpts); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment