Using Communication Objects > Application object

 

Application object

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. This section includes recommendations on how and why to set up application.OnConnect and application.OnDisconnect functions and when and how to use Application.onConnectAccept and Application.onConnectReject functions with applications that use communication components.

For more information on the Application object, see the Application (object) entry in the Server-Side Communication ActionScript Dictionary.