Set BlueBox settings without loading config xml

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

Moderators: Lapo, Bax

User avatar
lomriilod
Posts: 46
Joined: 12 Nov 2006, 11:55

Set BlueBox settings without loading config xml

Postby lomriilod » 29 Mar 2011, 09:09

Hi,

I am trying to set the BlueBox settings in sfsclient.config (ConfigData) which does not work, because I am not loading the server settings via loadConfig. (I use my own config loader). Is there a way to force the sfsclient to create ConfigData?

Dirk
User avatar
Bax
Site Admin
Posts: 4612
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 01 Apr 2011, 08:11

No.
But why do you use your own config loader?
Paolo Bax
The SmartFoxServer Team
User avatar
lomriilod
Posts: 46
Joined: 12 Nov 2006, 11:55

Postby lomriilod » 01 Apr 2011, 08:15

Because we are storing various other client settings within the same xml file.
User avatar
Bax
Site Admin
Posts: 4612
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 01 Apr 2011, 08:50

I'm sorry but this is not possible.
Use two separate files.
Paolo Bax
The SmartFoxServer Team
dingo
Posts: 98
Joined: 27 Jan 2009, 21:34

Postby dingo » 20 Apr 2011, 23:46

So how do i get the xml file to the client?

It's not automatically downloaded with the swf, and even if it were, the clients security restrictions won't allow to read an xml file.

I don't quite understand how I'm supposed to accomplish setting up bluebox.

thanks.
User avatar
Bax
Site Admin
Posts: 4612
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 23 Apr 2011, 09:41

You have to use the default loadConfig method to load the client configuration file in which the BlueBox settings are stored.
For your additional settings use a separate xml file that you have to load in your application.
Paolo Bax
The SmartFoxServer Team

Return to “SFS2X ActionScript 3 API”

Who is online

Users browsing this forum: No registered users and 12 guests