MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Especificações Página 309

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 369
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 308
Server-Side Communication ActionScript 9
Application (object)
The Application object contains information about a Flash Communication Server application
instance that lasts until the application instance is unloaded. A Flash Communication Server
application is a collection of stream objects, shared objects, and clients (connected users). Each
application has a unique name, and you can use the naming scheme described in “Using naming
conventions” on page 6 to create multiple instances of an application.
The Application object lets you accept and reject client connection attempts, register and
unregister classes and proxies, and create functions that are invoked when an application starts or
stops or when a client connects or disconnects.
Besides the built-in properties of the Application object, you can create other properties of any
legal ActionScript type, including references to other ActionScript objects. For example, the
following lines of code create a new property of type
array and a new property of type number:
application.myarray = new Array();
application.num_requests = 1;
__resolve Client.__resolve
resyncDepth SharedObject.resyncDepth
send SharedObject.send, Stream.send
setBandwidthLimit Client.setBandwidthLimit
setBufferTime Stream.setBufferTime
setInterval setInterval
setProperty SharedObject.setProperty
SharedObject SharedObject (object)
size SharedObject.size
server Application.server
Stream Stream (object)
trace trace
unlock SharedObject.unlock
uri NetConnection.uri
version SharedObject.version
writeAccess Client.writeAccess
Vista de página 308
1 2 ... 304 305 306 307 308 309 310 311 312 313 314 ... 368 369

Comentários a estes Manuais

Sem comentários