socket+AMF3

skt = new Socket();
         skt.objectEncoding = ObjectEncoding.AMF3;
            skt.connect(ipAddress,port);
            skt.addEventListener(Event.CONNECT,onConnect);
            skt.addEventListener(ProgressEvent.SOCKET_DATA,comedata);
            skt.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);

 

 

http://www.51edu.com/it/flash/shilijc/1415608.html

你可能感兴趣的:(html,socket,Flash)