MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE Reference page 20

Server-side actionscript language reference
Table of Contents

Advertisement

See also
SharedObject.handlerName
Application.clearSharedObjects()
Availability
Flash Communication Server MX 1.0.
Usage
application.clearSharedObjects(soPath)
Parameters
A string that indicates the URI of a shared object.
soPath
Returns
A Boolean value of
true
. If using wildcard characters to delete multiple files, the method returns
false
the shared objects matching the wildcard pattern were successfully deleted; otherwise, it will
return
.
false
Description
Method; deletes persistent shared objects (FSO files) specified by the
clears all properties from active shared objects (persistent and nonpersistent).
The
parameter specifies the name of a shared object, which can include a slash (/) as a
soPath
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 shared object name. The
application.clearSharedObjects()
the specified path and clears all the shared objects. Specifying a slash (/) clears all the shared
objects associated with an application instance.
The following values are possible for the
clears all local and persistent shared objects associated with the instance.
/
clears the shared object
/foo/bar
are 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 namespace.
clears all shared objects that begin with
/foo/bar/XX??
characters. If a directory name matches this specification, all the shared objects within this
directory are cleared.
20
Server-Side ActionScript Language Reference
if the shared object at the specified path was deleted; otherwise,
method traverses the shared object hierarchy along
soPath
/foo/bar
parameter:
; if bar is a directory name, no shared objects
, followed by any two
XX
only if all
true
parameter and
soPath

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash media server 2

Table of Contents