PDA

View Full Version : sendAndLoad on server-side doesn't work


cristisst
07-24-2010, 10:02 AM
hi,
I do have this on main.asc:
application.onConnect = function(clientObj, password, usertype, userid, nickname){

clientObj.usertype=usertype;
clientObj.userid=userid;
clientObj.password=password;

receiveVars = new LoadVars();

clientObj.sendAndLoad("auth.php", receiveVars, "POST");

when the is started the FMS log shows: TypeError: clientObj.sendAndLoad is not a function

I can't really figure out why that?

bowljoman
07-24-2010, 03:48 PM
WHat do you think the client object actually is? It's not a netconnection on the server side.