as24x


partial e4x support for as2

Project Discontinued

This project never made it past a proof of concept, simply because I don't need it, and nobody else seems to, since AS2 has basically died out. Should you be interested in the project, then send me an email or create a ticket.

Description

This library allows e4x-ish access to XML in AS2. VERY EARLY VERSION, api may change!!!

Many changes to come, notably: * try to get closer to AS3 API, where it makes sense * proper support for text nodes (getter for text, hasComplexContent etc.) * descendants() method * consider using lazy parsing (i.e. translate from XMLNode objects to xXML objects just-in-time and cache results) * toXMLString() method * consider caching attribute setters

For now, refer to inline and the example in repository (FlashDevelop project).

Since '@' seems to be an invalid character, '.$' is used to access attributes. To write to attributes, use set$name(value).

Project Information

Labels:
actionscript2 e4x as2 xml