MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Manuale Utente Pagina 38

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 80
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 37
38
Client.ping
Availability
Flash Communication Server MX.
Usage
Client.ping
Description
Method; sends a "ping" message to the client and waits for a response. If the client responds, the
method returns
true, otherwise returns false. Use this method to determine whether or not the
client connection is still alive and active.
Example
The following onConnect function pings the connecting client and traces the results of the
method to the Output window:
application.onConnect( newClient ) {
if ( newClient.ping() ){
trace("ping successful");
}
else {
trace("ping failed");
}
}
See also
Client.getStats
Client.readAccess
Availability
Flash Communication Server MX.
Usage
Client.readAccess
Description
Property; provides read-access rights to directories that contain application resources (shared
objects and streams) for this client. To give a client read access to directories containing
application resources, list directories in a string delimited by semicolons.
By default, all clients have full read access, and the
readAccess property is set to slash (/). To give
a client read access, specify a list of access levels (in URI format), delimited by semicolons. Any
files or directories within a specified URI are also considered accessible. For example, if
myMedia
is specified as an access level, then any files or directories in the myMedia directory are also
accessible (for example, myMedia/mp3s). Similarly, any files or directories in the myMedia/mp3s
directory are also accessible, and so on.
Vedere la pagina 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 79 80

Commenti su questo manuale

Nessun commento