SERVER DOWN notification

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

Moderators: Lapo, Bax

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

SERVER DOWN notification

Post by bbranislav »

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: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: SERVER DOWN notification

Post by Lapo »

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

Post by bbranislav »

Thank you, it works.
Post Reply