Application class
15
Application class
Availability
Flash Communication Server 1.
The Application class contains information about a Flash Media Server application instance
that lasts until the application instance is unloaded. A Flash Media Server application is a
collection of stream objects, shared objects, and clients (connected users). Each application
has a unique name, and you can use a naming scheme to create multiple instances of an
application. For more information about the naming scheme, see
“Using naming
conventions” on page 7
.
Every instance of a Flash Media Server application has an
application
object, which is a
single instance of the Application class. You don’t need to use a constructor function to create
the
application
object; it is created automatically when an application is instantiated by the
server. Use the following syntax to call the methods, properties, and event handlers of the
Application class:
application.methodPropertyOrHandler
Use the
application
object to 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.
For more information about the life cycle of an application, see “Application flow” in
Developing Media Applications
.
type
File.type
unlock
SharedObject.unlock()
uri
NetConnection.uri
,
Client.uri
version
SharedObject.version
virtualKey
Client.virtualKey
write
File.write()
writeAccess
Client.writeAccess
writeAll
File.writeAll()
writeByte
File.writeByte()
writeln
File.writeln()
xmlDecl
XML.xmlDecl
ActionScript element
See entry
Содержание FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT...
Страница 1: ...Server Side ActionScript Language Reference...
Страница 4: ...4 Contents...
Страница 228: ...228 Server Side ActionScript Language Reference...
Страница 234: ...234 Server Side Information Objects...