There are a number of tutorials on doing this around the web but I thought I’d write my own tailored tutorial on this topic.
I’m going to cover two scenarios;
Assigning XML results as a dataProvider:
This is by far the simplest of the two:
// The initialisation function
protected function init():void
{
var serviceObj:HTTPService = new HTTPService();
serviceObj.resultFormat = ‘e4x’;
serviceObj.method = ‘GET’;
serviceObj.useProxy [...]