﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- saved from url=(0014)about:internet -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="book" content="ActionScript&nbsp;3.0&nbsp;Language&nbsp;and&nbsp;Components&nbsp;Reference"><link rel="stylesheet" href="../../style.css" type="text/css" media="screen"><link rel="stylesheet" href="../../print.css" type="text/css" media="print"><link rel="stylesheet" href="../../override.css" type="text/css"><meta name="keywords" content="XMLSocket,flash.net.XMLSocket,AMF0,AMF3,APPEND,BINARY,CONNECT_TO_FMS,DEFAULT,DELETE,DIRECT_CONNECTIONS,FLUSHED,GET,HEAD,OPTIONS,PENDING,POST,PUT,RESET,SRTT,STOP,SWAP,SWITCH,TEXT,VARIABLES,audioBufferByteLength,audioBufferLength,audioByteCount,audioBytesPerSecond,audioLossRate,authenticate,authenticate,bufferLength,bufferTime,byteCount,bytesAvailable,bytesAvailable,bytesLoaded,bytesLoaded,bytesTotal,bytesTotal,cacheResponse,cacheResponse,checkPolicyFile,client,client,client,client,connected,connected,connected,connected,connectedProxyType,contentType,creationDate,creator,currentBytesPerSecond,currentFPS,data,dataBufferByteLength,dataBufferLength,dataByteCount,dataBytesPerSecond,dataFormat,data,data,data,defaultObjectEncoding,defaultObjectEncoding,description,digest,domain,droppedFrames,dynamicPropertyWriter,endian,endian,extension,extension,farID,farID,farNonce,farNonce,fileList,followRedirects,followRedirects,fps,info,len,liveDelay,macType,manageCookies,manageCookies,maxBytesPerSecond,maxPauseBufferTime,maxPeerConnections,method,modificationDate,name,name,nearID,nearNonce,nearNonce,objectEncoding,objectEncoding,objectEncoding,objectEncoding,objectEncoding,oldStreamName,peerStreams,playbackBytesPerSecond,protocol,proxyType,requestHeaders,size,size,soundTransform,start,streamName,time,timeout,timeout,transition,type,unconnectedPeerStreams,uri,url,useCache,useCache,userAgent,userAgent,usingTLS,value,videoBufferByteLength,videoBufferLength,videoByteCount,videoBytesPerSecond,addEventListener,addHeader,allowDomain,allowInsecureDomain,attachAudio,attachCamera,browse,browse,call,cancel,clear,close,close,close,close,close,close,close,close,connect,connect,connect,connect,connect,decode,download,flush,flush,getClassByAlias,getLocal,getRemote,load,load,load,navigateToURL,onPeerConnect,pause,play2,play,preloadEmbeddedData,publish,readBoolean,readBoolean,readByte,readByte,readBytes,readBytes,readDouble,readDouble,readFloat,readFloat,readInt,readInt,readMultiByte,readMultiByte,readObject,readObject,readShort,readShort,readUTFBytes,readUTFBytes,readUTF,readUTF,readUnsignedByte,readUnsignedByte,readUnsignedInt,readUnsignedInt,readUnsignedShort,readUnsignedShort,receiveAudio,receiveVideoFPS,receiveVideo,registerClassAlias,resetDRMVouchers,resume,save,seek,send,send,send,send,sendToURL,setDRMAuthenticationCredentials,setDirty,setLoginCredentialsForHost,setProperty,toString,toString,togglePause,upload,uploadUnencoded,writeBoolean,writeByte,writeBytes,writeDouble,writeDynamicProperties,writeDynamicProperty,writeFloat,writeInt,writeMultiByte,writeObject,writeShort,writeUTFBytes,writeUTF,writeUnsignedInt"><title>flash.net.XMLSocket (ActionScript 3.0)</title><script src="../../AC_OETags.js" type="text/javascript"></script></head><body><script language="javascript" type="text/javascript" src="../../asdoc.js"></script><script language="javascript" type="text/javascript" src="../../help.js"></script><script language="javascript" type="text/javascript" src="../../cookies.js"></script><script language="javascript" type="text/javascript">  
            <!--  
			    
				asdocTitle = 'XMLSocket - ActionScript 3.0 Language and Components Reference';

				var baseRef = '../../';

				window.onload = configPage;
			      
			    -->  
            </script>
<script language="javascript" type="text/javascript"><!--
function submitValue(){
var searchStr=document.getElementById('search-livedocs').value;
window.location="../../search.html"+"###"+searchStr;
}
--></script><script type="text/javascript">
		scrollToNameAnchor();
	</script><table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none"><tr><td class="titleTableTitle" align="left">ActionScript 3.0 Language and Components Reference</td><td class="titleTableSearch" align="center"><form class="searchForm" method="get" action="../../search.html" onsubmit="submitValue();"><input class="hidden" name="loc" value="" type="hidden"><input class="hidden" name="termPrefix" value="" type="hidden"><input class="hidden" name="term" value="" type="hidden"><input class="hidden" name="area" value="" type="hidden"><input id="search-livedocs" name="search_text" value="" title="" type="text"> <input type="button" name="action" value="Search" onclick="submitValue()"></form></td><td class="titleTableTopNav" align="right"><a href="../../../../Flash/10.0_Welcome/index.html">Home</a>&nbsp;|&nbsp;<a href="../../package-summary.html" onclick="loadClassListFrame('../../all-classes.html')">All Packages</a>&nbsp;|&nbsp;<a href="../../class-summary.html" onclick="loadClassListFrame('../../all-classes.html')">All Classes</a>&nbsp;|&nbsp;<a href="../../language-elements.html">Language Elements</a>&nbsp;| <a href="../../all-index-Symbols.html" onclick="loadClassListFrame('../../index-list.html')">Index</a>&nbsp;|&nbsp;<a href="../../appendixes.html">Appendixes</a>&nbsp;|&nbsp;<a href="../../conventions.html">Conventions</a>&nbsp;|&nbsp;<a id="framesLink1" href="../../index.html?flash/net/XMLSocket.html&amp;flash/net/class-list.html">Frames</a><a id="noFramesLink1" style="display:none" href="" onclick="parent.location=document.location"> No Frames </a></td><td class="titleTableLogo" align="right" rowspan="3"><img src="../../images/logo.jpg" class="logoImage" alt=" Adobe Logo " title=" Adobe Logo "></td></tr><tr class="titleTableRow2"><td class="titleTableSubTitle" id="subTitle" align="left">XMLSocket</td><td class="titleTableSubNav" id="subNav" align="right" colspan="2"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a>&nbsp;| <a href="#eventSummary">Events</a>&nbsp;| <a href="#styleSummary">Styles</a>&nbsp;| <a href="#effectSummary">Effects</a>&nbsp;| <a href="#constantSummary">Constants</a>&nbsp;| <a href="#includeExamplesSummary">Examples</a></td></tr><tr class="titleTableRow3"><td colspan="3">&nbsp;</td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve">
                
                    
                

				<!--

				
				    
				

					if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("XMLSocket"); titleBar_setSubNav(false,true,false	,false,true,false,true,true,false	,false,false,false,false,false);}

				    
				        
				    
				-->
                
                    
                
			</script><div class="MainContent"><table class="classHeaderTable" cellpadding="0" cellspacing="0"><tr><td class="classHeaderTableLabel">Package</td><td><a href="package-detail.html" onclick="javascript:loadClassListFrame('class-list.html')">flash.net</a></td></tr><tr><td class="classHeaderTableLabel">Class</td><td class="classSignature">public  class  XMLSocket</td></tr><tr><td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">XMLSocket  <img src="../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> <a href="../../flash/events/EventDispatcher.html">EventDispatcher</a> <img src="../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> <a href="../../Object.html">Object</a></td></tr></table><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9</td></tr></table><p></p><p></p><p></p>
        The XMLSocket class implements client sockets that let the
        <span>Flash Player or</span>
        AIR application communicate
 with a server computer identified by an IP address or domain name. The XMLSocket class is useful for
 client-server applications that require low latency, such as real-time chat systems. A traditional 
 HTTP-based chat solution frequently polls the server and downloads new messages using an HTTP 
 request. In contrast, an XMLSocket chat solution maintains an open connection to the server, which
 lets the server immediately send incoming messages without a request from the client.
 To use the XMLSocket class, the server computer must run a daemon that understands the protocol used
 by the XMLSocket class. The protocol is described in the following list:
        <ul>
                  <li>XML messages are sent over a full-duplex TCP/IP stream socket connection.</li>
                  <li>Each XML message is a complete XML document, terminated by a zero (0) byte.</li>
                  <li>An unlimited number of XML messages can be sent and received over a single XMLSocket 
 connection.</li>
               </ul>
        
               <p>Setting up a server to communicate with the XMLSocket object can be challenging. If your application
 does not require real-time interactivity, use the URLLoader class instead of the XMLSocket class.</p>
        
               <p>
          To use the methods of the XMLSocket class, first use the constructor,
          <code>new XMLSocket</code>
          ,
 to create an XMLSocket object.
        </p>
        
               <p>SWF files in the local-with-filesystem sandbox may not use sockets.</p>
        
               <p>
          
                  <i>Socket policy files</i>
          on the target host specify the hosts from which SWF files
  can make socket connections, and the ports to which those connections can be made.
  The security requirements with regard to socket policy files have become more stringent
  in the last several releases of Flash Player. 
  In all versions of Flash Player, Adobe recommends the use of a socket policy file; 
  in some circumstances, a socket policy file is required. Therefore, if you
  are using XMLSocket objects, make sure that the target host provides a socket policy file
  if necessary.
        </p>
        
               <p>The following list summarizes the requirements for socket policy files
  in different versions of Flash Player:</p>
        
               <ul>
                  <li>In Flash Player 9.0.124.0 and later, a socket policy file is required for any XMLSocket connection.
      That is, a socket policy file on the target host is required no matter what port 
      you are connecting to, and is required even if you are connecting 
      to a port on the same host that is serving the SWF file.</li>
                  <li>In Flash Player versions 9.0.115.0 and earlier, if you want to connect to a port number below 1024,
      or if you want to connect to a host other than the one serving the SWF file, 
      a socket policy file on the target host is required.</li>
                  <li>In Flash Player 9.0.115.0, even if a socket policy file isn't required, 
      a warning is displayed when using the Flash Debug Player if the target host
      doesn't serve a socket policy file.</li>
               </ul>
        
               <p>
          However, in Adobe AIR, content in the
          <code>application</code>
          security sandbox (content
 installed with the AIR application) are not restricted by these security limitations.
        </p>
        
               <p>For more information related to security, see the following:</p>
        
               <ul>
                  
                  <li>
            The
            <a href="http://www.adobe.com/go/flashcs4_prog_as3_security_en" target="external">security chapter</a>
            in the
            <i>Programming ActionScript 3.0</i>
            book and the latest comments on LiveDocs
          </li>
                  <li>
            The Flash Player Developer Center Topic:
            <a href="http://www.adobe.com/go/devnet_security_en" target="external">Security</a>
                  </li>
               </ul>
        
            <p></p><p><a href="#includeExamplesSummary">View the examples</a></p><p><span class="classHeaderTableLabel">See also</span></p><div class="seeAlso"><a href="URLLoader.html#load()" target="">flash.net.URLLoader.load()</a><br/><a href="URLLoader.html" target="">flash.net.URLLoader</a></div><br/><hr></div><a name="propertySummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Properties</div><div class="showHideLinks"><div id="hideInheritedProperty" class="hideInheritedProperty"><a class="showHideLink" href="#propertySummary" onclick="javascript:setInheritedVisible(false,'Property');"><img class="showHideLinkImage" src="../../images/expanded.gif"> Hide Inherited Public Properties</a></div><div id="showInheritedProperty" class="showInheritedProperty"><a class="showHideLink" href="#propertySummary" onclick="javascript:setInheritedVisible(true,'Property');"><img class="showHideLinkImage" src="../../images/collapsed.gif"> Show Inherited Public Properties</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableProperty"><tr><th>&nbsp;</th><th colspan="2">Property</th><th>Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#connected" class="signatureLink">connected</a> : <a href="../../Boolean.html">Boolean</a><div class="summaryTableDescription">[read-only] Indicates whether this XMLSocket object is currently connected.</div></td><td class="summaryTableOwnerCol">XMLSocket</td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../Object.html#constructor" class="signatureLink">constructor</a> : <a href="../../Object.html">Object</a><div class="summaryTableDescription">A reference to the class object or constructor function for a given object instance.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../Object.html#prototype" class="signatureLink">prototype</a> : <a href="../../Object.html">Object</a><div class="summaryTableDescription">[static] A reference to the prototype object of a class or function object.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#timeout" class="signatureLink">timeout</a> : <a href="../../int.html">int</a><div class="summaryTableDescription">Indicates the number of milliseconds to wait for a connection.</div></td><td class="summaryTableOwnerCol">XMLSocket</td></tr></table></div><a name="methodSummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Methods </div><div class="showHideLinks"><div id="hideInheritedMethod" class="hideInheritedMethod"><a class="showHideLink" href="#methodSummary" onclick="javascript:setInheritedVisible(false,'Method');"><img class="showHideLinkImage" src="../../images/expanded.gif"> Hide Inherited Public Methods</a></div><div id="showInheritedMethod" class="showInheritedMethod"><a class="showHideLink" href="#methodSummary" onclick="javascript:setInheritedVisible(true,'Method');"><img class="showHideLinkImage" src="../../images/collapsed.gif"> Show Inherited Public Methods</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableMethod"><tr><th>&nbsp;</th><th colspan="2">Method</th><th>Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#XMLSocket()" class="signatureLink">XMLSocket</a>(host:<a href="../../String.html">String</a> = null, port:<a href="../../int.html">int</a> = 0)</div><div class="summaryTableDescription">Creates a new XMLSocket object.</div></td><td class="summaryTableOwnerCol">XMLSocket</td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/events/EventDispatcher.html#addEventListener()" class="signatureLink">addEventListener</a>(type:<a href="../../String.html">String</a>, listener:<a href="../../Function.html">Function</a>, useCapture:<a href="../../Boolean.html">Boolean</a> = false, priority:<a href="../../int.html">int</a> = 0, useWeakReference:<a href="../../Boolean.html">Boolean</a> = false):<a href="../../specialTypes.html#void">void</a></div><div class="summaryTableDescription">Registers an event listener object with an EventDispatcher object so that the listener 
 receives notification of an event.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/events/EventDispatcher.html">EventDispatcher</a></td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#close()" class="signatureLink">close</a>():<a href="../../specialTypes.html#void">void</a></div><div class="summaryTableDescription">Closes the connection specified by the XMLSocket object.</div></td><td class="summaryTableOwnerCol">XMLSocket</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#connect()" class="signatureLink">connect</a>(host:<a href="../../String.html">String</a>, port:<a href="../../int.html">int</a>):<a href="../../specialTypes.html#void">void</a></div><div class="summaryTableDescription">Establishes a connection to the specified Internet host using the specified TCP port.</div></td><td class="summaryTableOwnerCol">XMLSocket</td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/events/EventDispatcher.html#dispatchEvent()" class="signatureLink">dispatchEvent</a>(event:<a href="../../flash/events/Event.html">Event</a>):<a href="../../Boolean.html">Boolean</a></div><div class="summaryTableDescription">Dispatches an event into the event flow.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/events/EventDispatcher.html">EventDispatcher</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/events/EventDispatcher.html#hasEventListener()" class="signatureLink">hasEventListener</a>(type:<a href="../../String.html">String</a>):<a href="../../Boolean.html">Boolean</a></div><div class="summaryTableDescription">Checks whether the EventDispatcher object has any listeners registered for a specific type 
 of event.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/events/EventDispatcher.html">EventDispatcher</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../Object.html#hasOwnProperty()" class="signatureLink">hasOwnProperty</a>(name:<a href="../../String.html">String</a>):<a href="../../Boolean.html">Boolean</a></div><div class="summaryTableDescription">Indicates whether an object has a specified property defined.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../Object.html#isPrototypeOf()" class="signatureLink">isPrototypeOf</a>(theClass:<a href="../../Object.html">Object</a>):<a href="../../Boolean.html">Boolean</a></div><div class="summaryTableDescription">Indicates whether an instance of the Object class is in the prototype chain of the object specified 
  as the parameter.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../Object.html#propertyIsEnumerable()" class="signatureLink">propertyIsEnumerable</a>(name:<a href="../../String.html">String</a>):<a href="../../Boolean.html">Boolean</a></div><div class="summaryTableDescription">Indicates whether the specified property exists and is enumerable.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/events/EventDispatcher.html#removeEventListener()" class="signatureLink">removeEventListener</a>(type:<a href="../../String.html">String</a>, listener:<a href="../../Function.html">Function</a>, useCapture:<a href="../../Boolean.html">Boolean</a> = false):<a href="../../specialTypes.html#void">void</a></div><div class="summaryTableDescription">Removes a listener from the EventDispatcher object.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/events/EventDispatcher.html">EventDispatcher</a></td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#send()" class="signatureLink">send</a>(object:<a href="../../specialTypes.html#*">*</a>):<a href="../../specialTypes.html#void">void</a></div><div class="summaryTableDescription">Converts the XML object or data specified in the object parameter
     to a string and transmits it to the server, followed by a zero (0) byte.</div></td><td class="summaryTableOwnerCol">XMLSocket</td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../Object.html#setPropertyIsEnumerable()" class="signatureLink">setPropertyIsEnumerable</a>(name:<a href="../../String.html">String</a>, isEnum:<a href="../../Boolean.html">Boolean</a> = true):<a href="../../specialTypes.html#void">void</a></div><div class="summaryTableDescription">Sets the availability of a dynamic property for loop operations.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../Object.html#toString()" class="signatureLink">toString</a>():<a href="../../String.html">String</a></div><div class="summaryTableDescription">Returns the string representation of the specified object.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../Object.html#valueOf()" class="signatureLink">valueOf</a>():<a href="../../Object.html">Object</a></div><div class="summaryTableDescription">Returns the primitive value of the specified object.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/events/EventDispatcher.html#willTrigger()" class="signatureLink">willTrigger</a>(type:<a href="../../String.html">String</a>):<a href="../../Boolean.html">Boolean</a></div><div class="summaryTableDescription">Checks whether an event listener is registered with this EventDispatcher object or any of 
 its ancestors for the specified event type.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/events/EventDispatcher.html">EventDispatcher</a></td></tr></table></div><a name="eventSummary"></a><div class="summarySection"><div class="summaryTableTitle">Events</div><div class="showHideLinks"><div id="hideInheritedEvent" class="hideInheritedEvent"><a class="showHideLink" href="#eventSummary" onclick="javascript:setInheritedVisible(false,'Event');"><img class="showHideLinkImage" src="../../images/expanded.gif"> Hide Inherited Events</a></div><div id="showInheritedEvent" class="showInheritedEvent"><a class="showHideLink" href="#eventSummary" onclick="javascript:setInheritedVisible(true,'Event');"><img class="showHideLinkImage" src="../../images/collapsed.gif"> Show Inherited Events</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableEvent"><tr><th>&nbsp;</th><th colspan="2">Event</th><th> Summary </th><th>Defined By</th></tr><tr class="hideInheritedEvent"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/events/EventDispatcher.html#event:activate" class="signatureLink">activate</a></div></td><td class="summaryTableDescription summaryTableCol">[broadcast event] Dispatched when the Flash Player or AIR application gains operating system focus and becomes active.</td><td class="summaryTableOwnerCol"><a href="../../flash/events/EventDispatcher.html">EventDispatcher</a></td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#event:close" class="signatureLink">close</a></div></td><td class="summaryTableDescription summaryTableCol">Dispatched when the server closes the socket connection.</td><td class="summaryTableOwnerCol">XMLSocket</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#event:connect" class="signatureLink">connect</a></div></td><td class="summaryTableDescription summaryTableCol">Dispatched after a successful call to the XMLSocket.connect() method.</td><td class="summaryTableOwnerCol">XMLSocket</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#event:data" class="signatureLink">data</a></div></td><td class="summaryTableDescription summaryTableCol">Dispatched after raw data is sent or received.</td><td class="summaryTableOwnerCol">XMLSocket</td></tr><tr class="hideInheritedEvent"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/events/EventDispatcher.html#event:deactivate" class="signatureLink">deactivate</a></div></td><td class="summaryTableDescription summaryTableCol">[broadcast event] Dispatched when the Flash Player or AIR application operating loses system focus and is becoming inactive.</td><td class="summaryTableOwnerCol"><a href="../../flash/events/EventDispatcher.html">EventDispatcher</a></td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#event:ioError" class="signatureLink">ioError</a></div></td><td class="summaryTableDescription summaryTableCol">Dispatched when an input/output error occurs that causes a send or receive operation to fail.</td><td class="summaryTableOwnerCol">XMLSocket</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#event:securityError" class="signatureLink">securityError</a></div></td><td class="summaryTableDescription summaryTableCol">Dispatched if a call to the XMLSocket.connect() method attempts to connect either to a server outside the caller's security sandbox or to a port lower than 1024.</td><td class="summaryTableOwnerCol">XMLSocket</td></tr></table></div><script language="javascript" type="text/javascript"><!--
                      showHideInherited();
                      --></script><div class="MainContent"><div class="detailSectionHeader">Property Detail</div><a name="propertyDetail"></a><a name="connected"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">connected</td><td class="detailHeaderType">property</td></tr></table><div class="detailBody"><code>connected:<a href="../../Boolean.html">Boolean</a></code>&nbsp;&nbsp;[read-only] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9</td></tr></table><p></p><p></p><p>
          Indicates whether this XMLSocket object is currently connected. You can also check 
     whether the connection succeeded by registering for the
          <code>connect</code>
          event and
          <code>ioError</code>
          event.
        </p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get connected():<a href="../../Boolean.html">Boolean</a></code><br/><p><span class="label">See also</span></p><div class="seeAlso"><a href="XMLSocket.html#event:connect" target="">connect</a><br/><a href="XMLSocket.html#event:ioError" target="">ioError</a></div></div><a name="propertyDetail"></a><a name="timeout"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">timeout</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>timeout:<a href="../../int.html">int</a></code>&nbsp;&nbsp;[read-write] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p>
          Indicates the number of milliseconds to wait for a connection.
          <p>If the connection doesn't succeed within the specified time, the connection fails.
     The default value is 20,000 (twenty seconds).</p>
          
        </p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get timeout():<a href="../../int.html">int</a></code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set timeout(value:<a href="../../int.html">int</a>):<a href="../../specialTypes.html#void">void</a></code><br/></div><a name="constructorDetail"></a><div class="detailSectionHeader">Constructor Detail</div><a name="XMLSocket()"></a><a name="XMLSocket(String,int)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">XMLSocket</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">Constructor</td></tr></table><div class="detailBody"><code>public function XMLSocket(host:<a href="../../String.html">String</a> = null, port:<a href="../../int.html">int</a> = 0)</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9</td></tr></table><p></p><p>
          Creates a new XMLSocket object. If no parameters are specified, an initially disconnected socket 
    is created. If parameters are specified, a connection is attempted to the specified host and port.
          <p>
            <b>Note:</b>
            It is strongly advised to use the constructor form
            <b>without parameters</b>
            , then
    add any event listeners, then call the
            <code>connect</code>
            method with
            <code>host</code>
            and
            <code>port</code>
            parameters. This sequence guarantees that all event listeners will work
    properly.
          </p>
          
        </p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">host</span>:<a href="../../String.html">String</a></code> (default = <code>null</code>)<code></code> &mdash; 
              A fully qualified DNS domain name or an IP address in the form
              <i>.222.333.444</i>
              . In Flash Player 9.0.115.0 and AIR 1.0 and later, 
    you can specify IPv6 addresses, such as rtmp://[2001:db8:ccc3:ffff:0:444d:555e:666f]. 
    You can also specify
              <code>null</code>
              to connect to the host server
    on which the SWF file resides.  If the SWF file issuing this call is running in a web browser,
              <code>host</code>
              must be in the same domain as the SWF file.
            </td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">port</span>:<a href="../../int.html">int</a></code> (default = <code>0</code>)<code></code> &mdash; The TCP port number on the target host used to establish a connection. 
      In Flash Player 9.0.124.0 and later, the target host must serve a socket policy file
      specifying that socket connections are permitted from the host serving the SWF file
      to the specified port. In earlier versions of Flash Player, a socket policy file is required
      only if you want to connect to a port number below 1024,
      or if you want to connect to a host other than the one serving the SWF file.</td></tr></table><p><span class="label">See also</span></p><div class="seeAlso"><a href="XMLSocket.html#connect()" target="">connect()</a></div></div><a name="methodDetail"></a><div class="detailSectionHeader">Method Detail</div><a name="close()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">close</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td></tr></table><div class="detailBody"><code> public function close():<a href="../../specialTypes.html#void">void</a></code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9</td></tr></table><p></p><p></p><p>
          Closes the connection specified by the XMLSocket object. 
     The
          <code>close</code>
          event is dispatched only when the server
     closes the connection; it is not dispatched when you call the
          <code>close()</code>
          method.
        </p><p><span class="label">See also</span></p><div class="seeAlso"><a href="XMLSocket.html#connect()" target="">connect()</a></div></div><a name="connect()"></a><a name="connect(String,int)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">connect</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public function connect(host:<a href="../../String.html">String</a>, port:<a href="../../int.html">int</a>):<a href="../../specialTypes.html#void">void</a></code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9</td></tr></table><p></p><p></p><p>
          Establishes a connection to the specified Internet host using the specified TCP port.
          <p>
            If you specify
            <code>null</code>
            for the
            <code>host</code>
            parameter, the host 
     contacted is the one where the file calling
            <code>XMLSocket.connect()</code>
            resides. 
     For example, if the calling file was downloaded from www.adobe.com, specifying
            <code>null</code>
            for the host parameter means you are connecting to www.adobe.com.
          </p>
          
          <p>
            You can prevent a file from using this method by setting the
            <code>allowNetworking</code>
            parameter of the the
            <code>object</code>
            and
            <code>embed</code>
            tags in the HTML page that contains the SWF content.
          </p>
          
          <p>For more information, see the following:</p>
          
          <ul><li>
              The
              <a href="http://www.adobe.com/go/flashcs4_prog_as3_security_en" target="external">security chapter</a>
              in the
              <i>Programming ActionScript 3.0</i>
              book and the latest comments on LiveDocs
            </li><li>
              The Flash Player Developer Center Topic:
              <a href="http://www.adobe.com/go/devnet_security_en" target="external">Security</a>
            </li></ul>
          
        </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">host</span>:<a href="../../String.html">String</a></code> &mdash; 
              A fully qualified DNS domain name or an IP address in the form
              <i>111.222.333.444</i>
              . You can also specify
              <code>null</code>
              to connect to the host server
     on which the SWF file resides. If the calling file is a SWF file running in a web browser,
              <code>host</code>
              must be in the same domain as the file.
            </td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">port</span>:<a href="../../int.html">int</a></code> &mdash; The TCP port number on the target host used to establish a connection. 
       In Flash Player 9.0.124.0 and later, the target host must serve a socket policy file
       specifying that socket connections are permitted from the host serving the SWF file
       to the specified port. In earlier versions of Flash Player, a socket policy file is required
       only if you want to connect to a port number below 1024,
       or if you want to connect to a host other than the one serving the SWF file.</td></tr></table></p><br/><span class="label">Events</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><b>securityError</b>:<a href="../../flash/events/SecurityErrorEvent.html"><code>SecurityErrorEvent</code></a></code> &mdash; A connect operation attempted
     to connect to a host outside the caller's security sandbox, or
     to a port that requires a socket policy file.  Work around either problem by using
     a socket policy file on the target host.</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><b>data</b>:<a href="../../flash/events/DataEvent.html"><code>DataEvent</code></a></code> &mdash; Dispatched when raw data has been received.</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><b>connect</b>:<a href="../../flash/events/Event.html"><code>Event</code></a></code> &mdash; Dispatched when network connection has been established.</td></tr></table><br/><span class="label">Throws</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../SecurityError.html">SecurityError</a> </code> &mdash; Local untrusted files may not communicate with
     the Internet. Work around this limitation by reclassifying the file
     as local-with-networking or trusted.</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20"></td><td><code><a href="../../SecurityError.html">SecurityError</a> </code> &mdash; You may not specify a socket port higher than
     65535.</td></tr></table><p><span class="label">See also</span></p><div class="seeAlso"><a href="../../flash/events/Event.html#CONNECT" target="">flash.events.Event.CONNECT</a></div></div><a name="send()"></a><a name="send()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">send</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public function send(object:<a href="../../specialTypes.html#*">*</a>):<a href="../../specialTypes.html#void">void</a></code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9</td></tr></table><p></p><p></p><p>
          Converts the XML object or data specified in the
          <code>object</code>
          parameter
     to a string and transmits it to the server, followed by a zero (0) byte. If
          <code>object</code>
          is an XML object, the string is the XML textual representation of the XML object. The 
     send operation is asynchronous; it returns immediately, but the data may be transmitted at a 
     later time. The
          <code>XMLSocket.send()</code>
          method does not return a value indicating whether
     the data was successfully transmitted.
          <p>
            If you do not connect the XMLSocket object to the server using
            <code>XMLSocket.connect()</code>
            ), the
            <code>XMLSocket.send()</code>
            operation fails.
          </p>
          
        </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">object</span>:<a href="../../specialTypes.html#*">*</a></code> &mdash; An XML object or other data to transmit to the server.</td></tr></table></p><br/><span class="label">Throws</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../flash/errors/IOError.html">IOError</a> </code> &mdash; The XMLSocket object is not connected to the server.</td></tr></table><p><span class="label">See also</span></p><div class="seeAlso"><a href="XMLSocket.html#connect()" target="">connect()</a></div></div><div class="detailSectionHeader"> Event Detail </div><a name="event:close"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">close</td><td class="detailHeaderType"> Event </td></tr></table><div class="detailBody"><span class="label">Event Object Type: </span><a href="../../flash/events/Event.html"><code>flash.events.Event</code></a><br/><span class="label">property Event.type  =  </span><a href="../../flash/events/Event.html#CLOSE"><code>flash.events.Event.CLOSE</code></a><br/><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9</td></tr></table><p></p><p></p><p>
          Dispatched when the server closes the socket connection. 
 The
          <code>close</code>
          event is dispatched only when the server
 closes the connection; it is not dispatched when you call the
          <code>XMLSocket.close()</code>
          method.
        </p>
          The
          <code>Event.CLOSE</code>
          constant defines the value of the
          <code>type</code>
          property of a
          <code>close</code>
          event object.
          <p>This event has the following properties:</p>
          
          <table class="innertable" ><tr><th>Property</th><th>Value</th></tr><tr><td>
                    <code>bubbles</code>
                  </td><td>
                    <code>false</code>
                  </td></tr><tr><td>
                    <code>cancelable</code>
                  </td><td>
                    <code>false</code>
                    ; there is no default behavior to cancel.
                  </td></tr><tr><td>
                    <code>currentTarget</code>
                  </td><td>The object that is actively processing the Event 
 object with an event listener.</td></tr><tr><td>
                    <code>target</code>
                  </td><td>The object whose connection has been closed.</td></tr></table>
          
        </div><a name="event:connect"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">connect</td><td class="detailHeaderType"> Event </td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><span class="label">Event Object Type: </span><a href="../../flash/events/Event.html"><code>flash.events.Event</code></a><br/><span class="label">property Event.type  =  </span><a href="../../flash/events/Event.html#CONNECT"><code>flash.events.Event.CONNECT</code></a><br/><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9</td></tr></table><p></p><p></p><p>
          Dispatched after a successful call to the
          <code>XMLSocket.connect()</code>
          method.
        </p>
          The
          <code>Event.CONNECT</code>
          constant defines the value of the
          <code>type</code>
          property of a
          <code>connect</code>
          event object.
          <p>This event has the following properties:</p>
          
          <table class="innertable" ><tr><th>Property</th><th>Value</th></tr><tr><td>
                    <code>bubbles</code>
                  </td><td>
                    <code>false</code>
                  </td></tr><tr><td>
                    <code>cancelable</code>
                  </td><td>
                    <code>false</code>
                    ; there is no default behavior to cancel.
                  </td></tr><tr><td>
                    <code>currentTarget</code>
                  </td><td>The object that is actively processing the Event 
 object with an event listener.</td></tr><tr><td>
                    <code>target</code>
                  </td><td>The Socket or XMLSocket object that has established a network connection.</td></tr></table>
          
        </div><a name="event:data"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">data</td><td class="detailHeaderType"> Event </td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><span class="label">Event Object Type: </span><a href="../../flash/events/DataEvent.html"><code>flash.events.DataEvent</code></a><br/><span class="label">property DataEvent.type  =  </span><a href="../../flash/events/DataEvent.html#DATA"><code>flash.events.DataEvent.DATA</code></a><br/><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9</td></tr></table><p></p><p></p><p>Dispatched after raw data is sent or received.</p>
          Defines the value of the
          <code>type</code>
          property of a
          <code>data</code>
          event object.
          <p>This event has the following properties:</p>
          
          <table class="innertable" ><tr><th>Property</th><th>Value</th></tr><tr><td>
                    <code>bubbles</code>
                  </td><td>
                    <code>false</code>
                  </td></tr><tr><td>
                    <code>cancelable</code>
                  </td><td>
                    <code>false</code>
                    ; there is no default behavior to cancel.
                  </td></tr><tr><td>
                    <code>currentTarget</code>
                  </td><td>The object that is actively processing the Event 
 object with an event listener.</td></tr><tr><td>
                    <code>data</code>
                  </td><td>The raw data loaded into Flash Player or Adobe AIR.</td></tr><tr><td>
                    <code>target</code>
                  </td><td>The XMLSocket object receiving data.</td></tr></table>
          
        </div><a name="event:ioError"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">ioError</td><td class="detailHeaderType"> Event </td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><span class="label">Event Object Type: </span><a href="../../flash/events/IOErrorEvent.html"><code>flash.events.IOErrorEvent</code></a><br/><span class="label">property IOErrorEvent.type  =  </span><a href="../../flash/events/IOErrorEvent.html#IO_ERROR"><code>flash.events.IOErrorEvent.IO_ERROR</code></a><br/><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9</td></tr></table><p></p><p></p><p>Dispatched when an input/output error occurs that causes a send or receive operation to fail.</p>
          Defines the value of the
          <code>type</code>
          property of an
          <code>ioError</code>
          event object.
          <p>This event has the following properties:</p>
          
          <table class="innertable" ><tr><th>Property</th><th>Value</th></tr><tr><td>
                    <code>bubbles</code>
                  </td><td>
                    <code>false</code>
                  </td></tr><tr><td>
                    <code>cancelable</code>
                  </td><td>
                    <code>false</code>
                    ; there is no default behavior to cancel.
                  </td></tr><tr><td>
                    <code>currentTarget</code>
                  </td><td>The object that is actively processing the Event 
 object with an event listener.</td></tr><tr><td>
                    <code>errorID</code>
                  </td><td>A reference number associated with the specific error (AIR only).</td></tr><tr><td>
                    <code>target</code>
                  </td><td>The network object experiencing the input/output error.</td></tr><tr><td>
                    <code>text</code>
                  </td><td>Text to be displayed as an error message.</td></tr></table>
          
        </div><a name="event:securityError"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">securityError</td><td class="detailHeaderType"> Event </td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><span class="label">Event Object Type: </span><a href="../../flash/events/SecurityErrorEvent.html"><code>flash.events.SecurityErrorEvent</code></a><br/><span class="label">property SecurityErrorEvent.type  =  </span><a href="../../flash/events/SecurityErrorEvent.html#SECURITY_ERROR"><code>flash.events.SecurityErrorEvent.SECURITY_ERROR</code></a><br/><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9</td></tr></table><p></p><p></p><p>
          Dispatched if a call to the
          <code>XMLSocket.connect()</code>
          method
 attempts to connect either to a server outside the caller's security sandbox or to a port lower than 1024.
        </p>
          The
          <code>SecurityErrorEvent.SECURITY_ERROR</code>
          constant defines the value of the
          <code>type</code>
          property of a
          <code>securityError</code>
          event object.
          <p>This event has the following properties:</p>
          
          <table class="innertable" ><tr><th>Property</th><th>Value</th></tr><tr><td>
                    <code>bubbles</code>
                  </td><td>
                    <code>false</code>
                  </td></tr><tr><td>
                    <code>cancelable</code>
                  </td><td>
                    <code>false</code>
                    ; there is no default behavior to cancel.
                  </td></tr><tr><td>
                    <code>currentTarget</code>
                  </td><td>The object that is actively processing the Event 
 object with an event listener.</td></tr><tr><td>
                    <code>target</code>
                  </td><td>The network object reporting the security error.</td></tr><tr><td>
                    <code>text</code>
                  </td><td>Text to be displayed as an error message.</td></tr></table>
          
        <p><span class="label">See also</span></p><div class="seeAlso"><a href="XMLSocket.html#connect()" target="">XMLSocket.connect()</a></div></div><a name="includeExamplesSummary"></a><div class="detailSectionHeader">Examples<span class="usage"><a href="../../ExampleInstruct.html"> How to use examples </a></span></div><div class="exampleHeader">XMLSocketExample.as</div><br/><div class="detailBody">
        The following example uses the class XMLSocketExample class to send data using 
 an XMLSocket and print information during XMLSocket events.  This is accomplished using
 the following steps:
        <ol><li>
            The XMLSocketExample constructor creates a XMLSocket instance named
            <code>socket</code>
            and
  passes
            <code>socket</code>
            to
            <code>ConfigureListeners()</code>
            (described below) and then calls the
            <code>connect()</code>
            method of XMLSocket using the host name "localhost" and port
  number of
            <code>8080</code>
            .
          </li><li>
            The
            <code>configureListeners()</code>
            method is then called, which adds listeners for each of the 
  supported XMLSocket events:
            <ul><li>
                <code>closeHandler()</code>
                : listens for the
                <code>close</code>
                event, which is dispatched
      after the network connection has been closed.
              </li><li>
                <code>connectHandler()</code>
                : listens for the
                <code>connect</code>
                event, dispatched when the network
      connection has been established.
              </li><li>
                <code>dataHandler()</code>
                : listens for the
                <code>data</code>
                events, dispatched every time
      the XMLSocket receives new data.
              </li><li>
                <code>progressHandler()</code>
                : listens for the
                <code>progress</code>
                events, dispatched when a call to
                <code>send()</code>
                has been made and while the send is ongoing.
              </li><li>
                <code>securityErrorHandler()</code>
                : listens for
                <code>securityError</code>
                events, which would be
      dispatched if an attempt was made to access the XMLSocket with the wrong local playback security setting or 
      using a port lower than 1024.
              </li><li>
                <code>ioErrorHandler()</code>
                : listens for
                <code>ioError</code>
                events, which would happen only
      if an operation to send or receive data failed.
              </li></ul>
          </li></ol>
        
        <p>
          <b>Notes:</b>
          
          <ul><li>You need to compile the SWF file with "Local playback security" set to "Access network only".</li><li>You need a server running on your domain using port 8080 for this example to work.</li><li>
              If you are running Flash Player 9.0.124.0 or later, you need to place a socket policy file on your server 
    that permits socket connections from your domain to port 8080. For information on serving socket policy files, 
	see the Flash Player Developer Center Topic:
              <a href="http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html" target="external">Setting up a socket policy file server</a>
              .
            </li></ul>
          
        </p>
        
        <div class="listing"><pre>package {
    import flash.display.Sprite;
    import flash.events.*;
    import flash.net.XMLSocket;

    public class XMLSocketExample extends Sprite {
        private var hostName:String = "localhost";
        private var port:uint = 8080;
        private var socket:XMLSocket;

        public function XMLSocketExample() {
            socket = new XMLSocket();
            configureListeners(socket);
            if (hostName && port) {
                socket.connect(hostName, port);
            }
        }

        public function send(data:Object):void {
            socket.send(data);
        }

        private function configureListeners(dispatcher:IEventDispatcher):void {
            dispatcher.addEventListener(Event.CLOSE, closeHandler);
            dispatcher.addEventListener(Event.CONNECT, connectHandler);
            dispatcher.addEventListener(DataEvent.DATA, dataHandler);
            dispatcher.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
            dispatcher.addEventListener(ProgressEvent.PROGRESS, progressHandler);
            dispatcher.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
        }

        private function closeHandler(event:Event):void {
            trace("closeHandler: " + event);
        }

        private function connectHandler(event:Event):void {
            trace("connectHandler: " + event);
        }

        private function dataHandler(event:DataEvent):void {
            trace("dataHandler: " + event);
        }

        private function ioErrorHandler(event:IOErrorEvent):void {
            trace("ioErrorHandler: " + event);
        }

        private function progressHandler(event:ProgressEvent):void {
            trace("progressHandler loaded:" + event.bytesLoaded + " total: " + event.bytesTotal);
        }

        private function securityErrorHandler(event:SecurityErrorEvent):void {
            trace("securityErrorHandler: " + event);
        }
    }
}</pre></div>
      </div><br/><br/><hr><br/><p></p><center class="copyright"> &copy; 2004-2008 Adobe Systems Incorporated. All rights reserved. <br/>Thu Oct 30 2008, 07:08 PM -07:00  </center><div style="display:none">XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket XMLSocket </div><div style="display:none">flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket flash.net.XMLSocket </div></div></body></html><!-- &copy; 2004-2008 Adobe Systems Incorporated. All rights reserved. <br/>Thu Oct 30 2008, 07:08 PM -07:00  -->
