Client.referrer
Availability
Flash Communication Server MX 1.0.
Usage
clientObject.referrer
Description
Property (read-only); a string whose value is set to the URL of the SWF file or the server in
which this connection originated.
Example
The following example defines an
callback function that sends a trace that
onConnect
indicates the origin of the new client when that client connects to the application:
application.onConnect = function(newClient, name){
trace("New user connected to server from" + newClient.referrer);
};
Client.__resolve
Availability
Flash Communication Server MX 1.0.
Usage
Client.__resolve = function(propName){}
Parameters
The name of an undefined property.
propName
Returns
The value of the undefined property, which is specified by the
parameter.
propName
Description
Event handler; provides values for undefined properties. When an undefined property of a
Client object is referenced by server-side ActionScript code, that object is checked for a
method. If the object has a
method, the
method is
__resolve
__resolve
__resolve
invoked and passed the name of the undefined property. The return value of the
__resolve
method is the value of the undefined property. In this way,
can supply the values
__resolve
for undefined properties and make it appear as if they are defined.
Client class
59
Need help?
Do you have a question about the FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE and is the answer not in the manual?