Xmlui - MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

For top-level XML objects (those created with the constructor), the
outputs the document's XML declaration (stored in the
the document's
DOCTYPE
the text representation of all XML nodes in the object. The XML declaration is not output if
the
property is undefined. The
XML.xmlDecl
property is
XML.docTypeDecl
Availability: ActionScript 1.0; Flash Lite 2.0
Returns
- String.
String
Example
The following code uses the
and then uses the
toUpperCase()
var xString = "<first>Mary</first>"
+ "<last>Ng</last>"
var my_xml:XML = new XML(xString);
var my_node:XMLNode = my_xml.childNodes[1];
trace(my_node.toString().toUpperCase());
// <LAST>NG<
See also
docTypeDecl (XML.docTypeDecl property)

XMLUI

Object
|
+-XMLUI
public class XMLUI
extends
Object
The XMLUI object enables communication with SWF files that are used as custom user
interfaces for the flash authoring tool's extensibility features (such as Behaviors, Commands,
Effects, and Tools).
declaration (stored in the
DOCTYPE
.
undefined
method to convert an XMLNode object to a String,
toString()
method of the String class:
XML.toString()
XML.xmlDecl
XML.docTypeDecl
declaration is not output if the
,
xmlDecl (XML.xmlDecl property)
method
property), followed by
property), followed by
XMLUI
757

Advertisement

Table of Contents
loading

Table of Contents