MACROMEDIA FLASH MEDIA SERVER 2-CLIENT-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR FLASH MEDIA SERVER 2 Manuale Utente Pagina 36

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 172
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 35
33
SERVER-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR ADOBE MEDIA SERVER 5.0.1
Server-Side ActionScript Language Reference
Last updated 7/2/2013
Availability
Flash Media Server 4.5
Parameters
redirectAddresses Array; An array of addresses, as Strings, that may be used to contact the target peer.
event Object; The event object received in the application.onPeerLookup() callback.
See also
application.onPeerLookup()
application.server
application.server
Read-only; the platform and version of the server.
Availability
Flash Communication Server 1
Example
The following example checks the server property against a string before executing the code in the if statement:
if (application.server == "Adobe Media Server-Windows/1.0"){
// Insert code here.
}
application.shutdown()
application.shutdown()
Unloads the application instance. If the application is running in vhost or application-level scope, only the application
instance is unloaded, but the core process remains running. If the application is running in instance scope, the
application instance is unloaded and the core process terminates. This process is done asynchronously; the instance is
unloaded when the unload sequence begins, not when the
shutdown() call returns.
After shutdown() is called, application.onAppStop() is called, connected clients are disconnected, and
application.onDisconnect() is called for each client. Calls made after calling shutdown() may not be executed.
Availability
Flash Media Server 2
Returns
A boolean value indicating success (true) or failure (false).
ByteArray class
The Server-Side ActionScript ByteArray class is identical to the client-side ByteArray class with the following
exceptions:
Vedere la pagina 35
1 2 ... 31 32 33 34 35 36 37 38 39 40 41 ... 171 172

Commenti su questo manuale

Nessun commento