3XML and XMLNode Classes

Overview

Flash 8 or earlier versions have two classes to create and/or work with XML documents, the XML class and the XMLNode class. In this chapter we will list the properties, events, and methods of both classes. All classes are updated for Flash 8. For most of the properties, events, and methods, there are examples in the tutorials. However, separate examples will be shown as well.

The XML Class: Properties

All properties of the XML class can be read and set. In the following examples only one of the two possibilities is shown. You can find .fla files for every script presented here on the accompanying CD.

contentType (XML.contentType property)

public contentType : String

This property is used when data is sent to ...

Get Flash XML Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.