load("components.asc") application.onConnect = function(newClient, name) { // Give this new client the same name as the user name newClient.name=name; // Accept the new client's connection gFrameworkFC.getClientGlobals(newClient).username = name; application.acceptConnection(newClient); } Client.prototype.test1=function(param){ //code for(var i=0;i