Object sending
Hi Every one,
I need to send the String value from .asc file to Flash AS3 in Application.rejectConnection();
Here is my code:
application.onConnect = function(newClient, name , sex)
{
var nClients = this.clients.length;
trace( "client connecting: "+newClient+" current client count: "+nClients+" Max Clients: "+this.maxClients );
//if adding this client to the amount of clients that are currently connected will surpass our limit, DENY else ALLOW
if( nClients + 1 > this.maxClients ){
trace("Too many users, rejecting client.");
var e = new Object();
e.curval = "full";
this.rejectConnection( newClient, e );
}
how i get the value of e.curval to flash.
Is It possible...
Kindly reply me.
Saransoft
