Tag Archive for 'simplexmldecoder'

28
Aug

Parsing XML nodes and Objects with dashes in their names in ActionScript 3.0

The following example shows how you can parse an XML node with a dash in its node name (<font-family />) as well as parsing an Object with a dash in it’s identifier using the square bracket notation ([]).

Full code after the jump.

Continue reading ‘Parsing XML nodes and Objects with dashes in their names in ActionScript 3.0′

19
Sep

Converting XML to objects using the Flex SimpleXMLDecoder class

Similar to the previous post, “Converting XML to objects using the Flex HTTPService MXML tag“, the following example shows how you can use the decodeXML() method in the SimpleXMLDecoder class to convert an XMLDocument object into an ActionScript Object object.

Full code after the jump.

Continue reading ‘Converting XML to objects using the Flex SimpleXMLDecoder class’