ActionScript 2 XML User Guide

The Autodesk Scaleform SDK is a light-weight, high-performance rich media Flash vector graphics engine, built on a clean-room implementation specifically for Console and PC game developers. Scaleform combines the scalability and development ease of proven visual authoring tools, such as the Adobe® Flash® Studio, with the latest hardware graphics acceleration that cutting-edge game developers demand.

ActionScript 2 XML support is provided by Flash through its AS2 XML API. The XML and XMLNode classes wrap the loading, parsing, and DOM tree management functionalities. This core XML support is faithfully reproduced in Scaleform. The Scaleform implementation provides built-in DOM tree management and also exposes a SAX2-based interface to plug in custom XML parsers. By default, the GFxPlayer application uses a parser implementation that wraps the open source Expat parser. XML is supported on all platforms that support Scaleform: Windows, Linux, MacOS, Xbox 360, and PlayStation 4.

This document describes the Scaleform XML architecture and how to use it in an application. A how-to on configuring a custom parser and known limitations are described at the end.