Application.clearstreams - MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Manual

Server-side communication actionscript dictionary
Table of Contents

Advertisement

The following are possible values for the
clears all local and persistent shared objects associated with the instance.
/
clears the shared object
/foo/bar
deleted.
clears all shared objects stored under the instance directory /foo/bar. The bar
/foo/bar/*
directory is also deleted if no persistent shared objects are in use within this name space.
/foo/bar/XX??
a directory name matches this specification, all the shared objects within this directory are
cleared.
If you call the
clearSharedObjects
is currently active, all its properties are deleted, and a "clear" event is sent to all subscribers of the
shared object. If it is a persistent shared object, the persistent store is also cleared.
Example
The following example clears all the shared objects for an instance:
function onApplicationStop(clientObj){
application.clearSharedObjects("/");
}

Application.clearStreams

Availability
Flash Communication Server MX.
Usage
application.clearStreams(streamPath);
Parameters
A string that indicates the URI of a stream.
streamPath
Returns
Nothing.
Description
Method; clears recorded streams from the hard disk. You can use the Stream object to create
recorded streams in a Flash Communication Server application instance. The server stores
recorded files for each application instance. You can use
one stream at a time, so you must specify the name of the steam. You can also use
application.clearStreams
The
streamPath
delimiter between directories in the path. The last element in the path can contain wildcard
patterns (for example, a question mark [?] and an asterisk [*]) or a stream name. The
application.clearStreams
clears all the recorded streams that match the given wildcard pattern. Specifying a slash clears all
the streams associated with an application instance.
12
/foo/bar
clears all shared objects that begin with
method and the specified path matches a shared object that
to remove all the recorded streams based on a stream path.
parameter specifies the name of a stream, which can include a slash (/) as a
method traverses the stream hierarchy along the specified path and
parameter:
soPath
; if bar is a directory name, no shared objects are
, followed by any two characters. If
XX
application.clearStreams
to handle

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY and is the answer not in the manual?

This manual is also suitable for:

Flash communication server mx

Table of Contents