SERVER DOWN notification

Post here your questions about the Flash / Flex / Air API for SFS2X

Moderators: Lapo, Bax

bbranislav
Posts: 81
Joined: 13 Sep 2011, 15:59
Location: Nitra, Slovakia
Contact:

SERVER DOWN notification

Postby bbranislav » 09 Jan 2014, 21:12

Hi, how can my app notify user when my sfs-server is down ? is there any SFSevent which can a handle it?
I tried clients SFSEvents like SFSEvent.LOGIN_ERROR, SFSEvent.SOCKET_ERROR but any event didn't fire in this case. In case when SFS-server is down.
User avatar
Lapo
Site Admin
Posts: 23026
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: SERVER DOWN notification

Postby Lapo » 10 Jan 2014, 09:36

You will get a CONNECTION event with the success parameter set to false.
Lapo
--
gotoAndPlay()
...addicted to flash games
bbranislav
Posts: 81
Joined: 13 Sep 2011, 15:59
Location: Nitra, Slovakia
Contact:

Re: SERVER DOWN notification

Postby bbranislav » 13 Jan 2014, 21:44

Thank you, it works.

Return to “SFS2X ActionScript 3 API”

Who is online

Users browsing this forum: No registered users and 26 guests