Skip to main content
Participant
October 6, 2007
Question

Connection.Rejected issues

  • October 6, 2007
  • 1 reply
  • 281 views
I had coded my SWF player to return a different error message in the event where the connection is closed or rejected (making use of the NetConnection.Connection.Closed and NetConnection.Connection.Rejected messages).

As I had some problem with rejecting the users (users complaining of unabled to connect), I commented out the application.rejectConnection() portion in the onConnect method in the main.asc of my FMS. In other words, the FMS will never ever reject any connections. However, I still see the error message on my SWF file from time to time which will only appear when the connection is rejected.

Any suggestion how this could happen?

Thus, I was wondering if Connection.Closed error messages are a base class or something in the AS syntax.
    This topic has been closed for replies.

    1 reply

    Participant
    October 6, 2007
    Does anyone knows any circumstances that the Flash Media Server would reject a connection, i.e returning a Connection.Reject message, other than by the application.rejectConnection() method in the main.asc?