User Guide

62 Server-Side ActionScript Language Reference
Client.virtualKey
Availability
Flash Media Server 2.
Usage
clientObject.virtualKey
Description
Property; the user agent type of the client, which is typically the Flash Player version, but can
be set to any legal key value. A legal key can contain be any string that does not contain the
characters “*” or “:”.
For more information, see
Stream.setVirtualPath() on page 158.
Client.writeAccess
Availability
Flash Communication Server MX 1.0.
Usage
clientObject.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.
TIP
Don’t precede the stream path with a leading slash (/) on the client side.