03.05.2013 Views

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

XMLSocket constructor<br />

public XMLSocket()<br />

Creates a new XMLSocket object. The XMLSocket object is not initially connected to any<br />

server. You must call XMLSocket.connect() to connect the object to a server.<br />

Availability: <strong>ActionScript</strong> 1.0; Flash Player 5<br />

Example<br />

The following example creates an XMLSocket object:<br />

var socket:XMLSocket = new XMLSocket();<br />

XMLUI<br />

Object<br />

|<br />

+-XMLUI<br />

public class XMLUI<br />

extends Object<br />

The XMLUI object enables communication with SWF files that are used as custom user<br />

interfaces for the Flash authoring tool's extensibility features (such as Behaviors, Comm<strong>and</strong>s,<br />

Effects, <strong>and</strong> Tools).<br />

Macromedia Flash MX 2004 <strong>and</strong> later versions comes with several extensibility features<br />

including Behaviors, Comm<strong>and</strong>s (JavaScript API), Effects, <strong>and</strong> Tools. With these features,<br />

advanced users can extend or automate the authoring tool's functionality. The XML to UI<br />

engine works with each of these extensibility features to create dialog boxes that the user sees if<br />

the extension either requires or accepts parameters. Dialog boxes can be defined using XML<br />

tags or by creating a SWF file to display. The XMLUI object provides a mechanism by which<br />

an advanced user can communicate with a SWF file used in such a manner.<br />

Availability: <strong>ActionScript</strong> 1.0; Flash Player 7<br />

Property summary<br />

Properties inherited from class Object<br />

constructor (Object.constructor property), __proto__ (Object.__proto__<br />

property), prototype (Object.prototype property), __resolve<br />

(Object.__resolve property)<br />

XMLUI 1371

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!