ABSTRACT

Flash 8 or earlier versions have two classes to create and/or work with XML documents, the XML class and the XMLNode class. The chapter discusses the properties, events, and methods of both classes. All properties of the XML class can be read and set. Flash 8 has a bug and idMap cannot be run in AS2 class scripts except with the XML-load script described here. To parse an XML document in Flash a declaration is not required. The difference compared to onLoad is that the XML document has not been parsed and white space, for example, has been removed. The parameter is a string that is the URL for an XML document. When loading is initiated the XML property loaded is set to false, and when the XML document is completely downloaded from the server, the property loaded is set to true.