MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Specifiche Pagina 326

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 369
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 325
26
The methods are available to any instance, so within application.onConnect, which is passed a
clientObj argument, you can write the following code:
application.onConnect(clientObj){
var clientID = clientObj.createUniqueID();
var clientWritePerm = clientObj.getWritePermission();
};
Method summary for the Client object
Property summary for the Client object
Event handler summary for the Client object
Client.agent
Availability
Flash Communication Server MX.
Usage
Client.agent
Description
Property (read-only); contains the version and platform information of the Flash client.
Method Description
Client.call Executes a method on the Flash client asynchronously and returns the value
from the Flash client to the server.
Client.getBandwidthLimit Returns the maximum bandwidth the client or the server can attempt to use
for this connection.
Client.__resolve Provides values for undefined properties.
Client.setBandwidthLimit Sets the maximum bandwidth for the connection.
Property Description
Client.agent The version and platform of the Flash client.
Client.ip The IP address of the Flash client.
Client.readAccess A list of access levels to which the client has read access.
Client.referrer The URL of the SWF file or server where this connection originated.
Client.writeAccess A list of access levels to which the client has write access.
Event handler Description
Client."commandName" Invoked when NetConnection.call(commandName) is called in a client-side
script.
Vedere la pagina 325
1 2 ... 321 322 323 324 325 326 327 328 329 330 331 ... 368 369

Commenti su questo manuale

Nessun commento