MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Manuel d'utilisateur Page 41

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 80
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 40
Server-Side Communication ActionScript 41
Client.writeAccess
Availability
Flash Communication Server MX.
Usage
Client.writeAccess
Description
Property; provides write-access rights to directories containing application resources (such as
shared objects and streams) for this client. To give a client write access to directories containing
application resources, list directories in a string delimited by semicolons. By default, all clients
have full write access, and the
writeAccess property is set to slash (/). 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/myStreams). Similarly, any files or subdirectories in the
myMedia/myStreams directory are also accessible, and so on.
For shared object, writeAccess provides control over who can create and update the shared
objects.
For streams, writeAccess provides control over who can publish and record a stream.
Tip: Although you cannot use this property to control access for a particular file, you can create a separate directory
for a file if you want to control access to it.
Example
The following example provides write access to the /myMedia/myStreams and myData/notes
directories.
application.onConnect = function(newClient, name){
newClient.writeAccess = "/myMedia/myStreams;myData/notes";
application.acceptConnection();
};
See also
Client.readAccess
load
Availability
Flash Communication Server MX.
Usage
load(filename);
Parameters
filename The relative path to an ActionScript file in relation to the main.asc file.
Returns
Nothing.
Vue de la page 40
1 2 ... 36 37 38 39 40 41 42 43 44 45 46 ... 79 80

Commentaires sur ces manuels

Pas de commentaire