Flash Media Server Developer Documentation

Client.uri

clientObject.uri

Read-only; the URI specified by the client to connect to this application instance.

Availability

Flash Media Server 2

Example

The following example defines an onConnect() callback function that sends a message indicating the URI that the new client used to connect to the application:

application.onConnect = function(newClient, name){
    trace("New user requested to connect to " + newClient.uri); 
};