Hi All. By main.asc I want to send a variable to all client. I try this script, but does not works:
application.onConnectAccept = function(client, name) {
//---
myVar = "Hello";
client.call("myVarResp", null, name, myVar );
//--
};
client_nc.myVarResp= function(myVar ) {
_root.f_txt.text = myVar;
trace(myVar);
};