Posted by: Stephen Gray on: 26 August, 2008
If you’re a developer, I’m sure you would have seen XML namespaces somewhere before whilst looking at an XML document. But what are they? According to the Wiki page:
“XML namespaces are used for providing uniquely named elements and attributes in an XML instance. They are defined by a W3C recommendation called Namespaces in XML. An [...]
Posted by: Stephen Gray on: 8 August, 2008
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 [...]