I know this is probably a silly question, but I have to ask it. I'm just learning how to use flashCom, so bear with me.
I want the server script to pass x back to all clients. here's the server script.
i get the tracing in the admin window. how do I get the data to the client. i'm confused.Code:x=1; application.onConnect = function(client) { trace("CONNECTING: " + application.name + " connect from " + client.ip+"\r"); application.acceptConnection(client); x++; trace("TOTAL CLIENTS: " + x); }; application.onDisconnect = function (client){ trace("CONNECTING: " + application.name + " connect from " + client.ip+"\r"); x--; trace("TOTAL CLIENTS: " + x); }; // //
enjoy
tutash




Reply With Quote