Reloading SFS2X Config File

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

Moderators: Lapo, Bax

Post Reply
smoochict
Posts: 53
Joined: 18 Mar 2010, 06:21

Reloading SFS2X Config File

Post by smoochict »

Hello,

I'm setting up my game to connect to a failsafe/backup sfs2x server if the first one cannot be connected, however when i re sfs.loadConfig(configURL) it doesn't connect the second time.
Thanks,
Daniel
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Post by rjgtav »

hi. Does it return any error?

And do you call the 2nd loadConfig only if the first try failed to connect?
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
smoochict
Posts: 53
Joined: 18 Mar 2010, 06:21

Post by smoochict »

It doesn't return any error. and i'm calling loadConfig the second time after the first one fails to connect
Thanks,
Daniel
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Post by rjgtav »

Hum.... Will do some tests and try to get some results
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Post Reply