
56
Description
Method; invokes a command or method on the server. You must create a server-side function to
define this method. This method is also used when connecting to an application server. For
information on using Flash with an application server, see Using Flash Remoting.
Example
The following function checks for a message, sends it, then clears the local string.
function mySend()
{
if (length(msg) > 0) {
connection.call("message", null, msg);
}
msg = "";
}
NetConnection.close
Availability
• Flash Player 6.
• Flash Communication Server MX.
Usage
myConnection.close()
Parameters
None.
Returns
Nothing.
Commentaires sur ces manuels