MACROMEDIA FLASH MEDIA SERVER 2-CLIENT-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR FLASH MEDIA SERVER 2 Manual do Utilizador Página 136

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 172
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 135
133
SERVER-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR ADOBE MEDIA SERVER 5.0.1
Server-Side ActionScript Language Reference
Last updated 7/2/2013
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.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
Vista de página 135
1 2 ... 131 132 133 134 135 136 137 138 139 140 141 ... 171 172

Comentários a estes Manuais

Sem comentários