0 Replies Latest reply on Apr 2, 2010 9:01 AM by qazsecs123

    multiple connections

    qazsecs123 Level 1

      i'm trying to create a chat/video app that simulates a chat room, i've looked at this http://forums.adobe.com/message/2038522 but i don't really understand this code:

      var nsIn:NetStream = new NetStream(_nc, nsCaller.farID);

      var oClient:Object = new Object();

      oClient.onChatReceived = onChatReceivedHandler;

      oClient.onAddInStream = onAddInStreamHandler;

      oClient.onGetInStreams = onGetInStreamsHandler;

      nsIn.client = oClient;

      nsIn.play("out_" + nsCaller.farID);


      can someone explain how he use onChatReceived, onAddInStream...etc. looking at the documents, those do not exist in netstream. also, is this the best way to implement? if anyone has a better solution, please give me some hints, i am new to stratus