Hi,
since we use a set of conditions to determine which server, ports, etc. we are going to use, we wouldn't like to maintain a large amount of config files, but centralise everything.
Is it possible to confgure API without using an external XML file?
I.e.:
Configure with XML node/string directly
Configure with single parameters
etc.
Thank you
Configure API without config.xml file
- Pippoflash
- Posts: 135
- Joined: 30 Jan 2006, 17:16
- Contact:
Re: Configure API without config.xml file
Yes, via the ConfigData object.
http://docs2x.smartfoxserver.com/api-do ... gData.html
You create one, set all its properties then pass it to the SmartFox.connectWithConfig(...) method
cheers
http://docs2x.smartfoxserver.com/api-do ... gData.html
You create one, set all its properties then pass it to the SmartFox.connectWithConfig(...) method
cheers
- Pippoflash
- Posts: 135
- Joined: 30 Jan 2006, 17:16
- Contact:
Re: Configure API without config.xml file
Beautiful, thank you.
- Pippoflash
- Posts: 135
- Joined: 30 Jan 2006, 17:16
- Contact:
Re: Configure API without config.xml file
I could have seen it easily myself in API thanks for compensating my lazyness...
Return to “SFS2X ActionScript 3 API”
Who is online
Users browsing this forum: No registered users and 29 guests