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

Server-side actionscript language reference
Table of Contents

Advertisement

If you call the
method and the specified path matches a shared
clearSharedObjects()
object that 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(){
application.clearSharedObjects("/");
}
See also
SharedObject.clear()
Application.clearStreams()
Availability
Flash Communication Server MX 1.0.
Usage
application.clearStreams(streamPath)
Parameters
A string that indicates the URI of a stream.
streamPath
Returns
A Boolean value of
if the stream at the specified path was deleted; otherwise,
. If
true
false
using wildcard characters to clear multiple stream files, the method returns
only if all the
true
streams matching the wildcard pattern were successfully deleted; otherwise it returns
.
false
Description
Method; clears recorded streams (FLV) files and MP3 files associated with the application
instance. You can use this method to clear a single stream, all streams associated with the
application instance, just those streams in a specific subdirectory of the application instance,
or just those streams whose names match a specified wildcard pattern.
Application class
21

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