Answered
onConnectAccept()
application.onConnect = function(clientObj, username){
trace("A client has connected: "+username);
application.acceptConnection(clientObj);
};
application.onConnectAccept = function(clientObj){
trace("Connection accepted");
}
I have also tried: this.acceptConnection(clientObj);
I have this script. When I connect, I get the first trace but I don't get the second trace... so onConnectAccept() is not being called? not sure how
Anyone got any tips on why this function doesn't run?
Flash v8 swf, server running FMS2.
trace("A client has connected: "+username);
application.acceptConnection(clientObj);
};
application.onConnectAccept = function(clientObj){
trace("Connection accepted");
}
I have also tried: this.acceptConnection(clientObj);
I have this script. When I connect, I get the first trace but I don't get the second trace... so onConnectAccept() is not being called? not sure how
Anyone got any tips on why this function doesn't run?
Flash v8 swf, server running FMS2.
