Netconnection Information Objects; Stream Information Objects - MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Manual

Server-side communication actionscript dictionary
Table of Contents

Advertisement

Code
Application.Resource.LowMemory Warning
Application.Shutdown
Application.GC

NetConnection information objects

The NetConnection object has the same information objects as the client-side NetConnection
object.
Code
NetConnection.Call.Failed
NetConnection.Connect.AppShutdown
NetConnection.Connect.Closed
NetConnection.Connect.Failed
NetConnection.Connect.InvalidApp
NetConnection.Connect.Rejected
NetConnection.Connect.Success
*
This information object also has a description property, which is a string that provides a specific reason for
the failure.
** This information object also has an application property, which contains the value that the
application.rejectConnection server-side method returns.

Stream information objects

The information objects of the Stream object are similar to those of the client-side
NetStream object.
Code
NetStream.Clear.Success
NetStream.Clear.Failed
NetStream.Publish.Start
NetStream.Publish.BadName
68
Appendix
Level
Meaning
The ActionScript engine is low on runtime memory. This
provides an opportunity for the application instance to free
some resources or take suitable action.
If the application instance runs out of memory, it is unloaded
and all users are disconnected. In this state, the server will not
invoke the Application.onDisconnect event handler or
the Application.onAppStop event handler.
Status
This information object is passed to the onAppStop handler
when the application is being shut down.
Status
This information object is passed to the onAppStop event
handler when the application instance is about to be
destroyed by the server.
Level
Meaning
Error
The NetConnection.call method was not able to invoke
the server-side method or command.*
Error
The application has been shut down (for example, if the
application is out of memory resources and must shut down
to prevent the server from crashing) or the server has shut
down.
Status
The connection was closed successfully.
Error
The connection attempt failed.
Error
The application name specified during the connection
attempt was not found on the server.
Error
The client does not have permission to connect to the
application, or the application expected different
parameters from those that were passed.**
Status
The connection attempt succeeded.
Level
Meaning
Status
A recorded stream was deleted successfully.
Error
A recorded stream failed to delete.
Status
An attempt to publish was successful.
Error
An attempt was made to publish a stream that is already being
published by someone else.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash communication server mx

Table of Contents