MACROMEDIA FLASH MEDIA SERVER 2-SERVER MANAGEMENT ACTIONSCRIPT LANGUAGE Manuale Utente Pagina 84

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 155
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 83
ADOBE FLASH MEDIA INTERACTIVE SERVER
Server-Side ActionScript Language Reference
81
Event handler summary
SharedObject.autoCommit
so.autoCommit
A boolean value indicating whether the server periodically stores all persistent shared objects (true) or not (false).
If
autoCommit is false, the application must call SharedObject.commit() to save the shared object; otherwise,
the data is lost.
This property is
true by default. To override the default, specify the initial state by using the following configuration
key in the Application.xml file, as shown in the following example:
<SharedObjManager>
<AutoCommit>false</AutoCommit>
</SharedObjManager>
Availability
Flash Media Server 2
SharedObject.clear()
so.clear()
Deletes all the properties of a single shared object and sends a clear event to all clients that subscribe to a persistent
shared object. The persistent data object is also removed from a persistent shared object.
Availability
Flash Communication Server 1
Returns
Returns
true if successful; otherwise, false.
See also
application.clearSharedObjects()
SharedObject.close()
so.close()
SharedObject.setProperty() Updates the value of a property in a shared object.
SharedObject.size() Returns the total number of valid properties in a shared object.
SharedObject.unlock() Allows other clients to update the shared object.
Event handler Description
SharedObject.handlerName() An event handler invoked when a shared object receives a message with the same name
from the client-side SharedObject.send() method.
SharedObject.onStatus() Invoked when errors, warnings, and status messages associated with either a local instance
of a shared object or a persistent shared object occur.
SharedObject.onSync() Invoked when a shared object changes.
Method Description
Vedere la pagina 83
1 2 ... 79 80 81 82 83 84 85 86 87 88 89 ... 154 155

Commenti su questo manuale

Nessun commento