SFS Pro 1.6.2
AS3
Hi,
I'm testing my SFS app by having a single SWF create multiple instances of the SmartFoxClient, allowing it to make multiple connections to the server. This is to test server-side functionality of adding multiple users to the system without having lots of windows open.
I'm getting some weird errors here, so my question is: does doing this break any fundamental design practices of using the SmartFoxClient (eg. it uses singletons, static vars etc)? If so, I won't bother trying to solve the problems. If not, I'll have lots more questions to ask!
Any help would be much appreciated...
AS3: Multiple SmartFoxClient instances?
Hello-
Im not 100% sure, but im fairly certain that this is no way breaks any of the "fundamental" design practices of the smartfox client api.
As a matter of fact i think i have seen a couple posts before where in certain situations it was recommended and needed for two instances of smartfox client api to be used in a single project. (Login 1 log into one zone and gets information about additional zones on the server, and Login 2 connectes to the selected game)
I however could be wrong, ive been away from awhile so my sfs knowledge is a bit rusty.
hope that helps
_-menser-_
Im not 100% sure, but im fairly certain that this is no way breaks any of the "fundamental" design practices of the smartfox client api.
As a matter of fact i think i have seen a couple posts before where in certain situations it was recommended and needed for two instances of smartfox client api to be used in a single project. (Login 1 log into one zone and gets information about additional zones on the server, and Login 2 connectes to the selected game)
I however could be wrong, ive been away from awhile so my sfs knowledge is a bit rusty.
hope that helps
_-menser-_