Posted August 09, 2007 by senocular
This XMLDefinition class lets you define objects in ActionScript using XML. The XML is logical and intuitive matching the AS definition about as close as I could get it. So, for example, to represent a generic object with the value "bar" in a variable foo, you would use <Object foo="bar" />. Using XMLDefinition.parse() an actual AS Object can be generated from that XML. Similarly, XMLDefinition.create() will generate XML from an existing definition. You can see more in the XMLDefinition example (w/source).