User Guide

XMLUI 1349
Parameters
data:Object - An XML object or other data to transmit to the server.
Example
The following example shows how you could specify a user name and password to send the
XML object
my_xml to the server:
var myXMLSocket:XMLSocket = new XMLSocket();
var my_xml:XML = new XML();
var myLogin:XMLNode = my_xml.createElement("login");
myLogin.attributes.username = usernameTextField;
myLogin.attributes.password = passwordTextField;
my_xml.appendChild(myLogin);
myXMLSocket.send(my_xml);
See also
connect (XMLSocket.connect method)
XMLSocket constructor
public XMLSocket()
Creates a new XMLSocket object. The XMLSocket object is not initially connected to any
server. You must call XMLSocket.connect() to connect the object to a server.
Availability: ActionScript 1.0; Flash Player 5
Example
The following example creates an XMLSocket object:
var socket:XMLSocket = new XMLSocket();
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).