Posted by Elliot.
Results > Posts Filed Under > AS2
Nov
7
Posted by Elliot.
This is a method I came up with for taking a loaded simple XML document and turning it into a top level object in Flash. Basically it trawls through a XML tree and uses the attributes and content to build a object tree recognized by flash.
In AS3 this is the XMLDocument class. But obviously it places the first parent of the XML file at _root which doesn’t exist in AS3!
The reasons why I did this was to simplify the retrieval …