Page 1 of 1

TypeError: Error #1088 SFS error?

Posted: 10 Nov 2009, 02:44
by sharingan
I get this error quite often, and I've also encountered this error on other products using SFS (I'm using a debugger version of Flash Player 10). But because of the error, my entire flash game hangs and I'm unable to enter the room. What is the cause of this error?

Below is the error I get with the debug Flash player:
TypeError: Error #1088: The markup in the document following the root element must be well-formed.
at it.gotoandplay.smartfoxserver::SmartFoxClient/xmlReceived()
at it.gotoandplay.smartfoxserver::SmartFoxClient/handleMessage()
at it.gotoandplay.smartfoxserver::SmartFoxClient/handleSocketData()
Would really appreciate the help ASAP because I suspect it's one of the reasons other users cannot log in to the room, whether they are using the debug Flash player or not. Thanks.

Posted: 10 Nov 2009, 21:15
by Brakxel
I get this error as well. I'm using the beta version of Flash Builder (Flash 10) and I get the error when calling the joinRoom method.

UPDATE

I get the error when calling joinRoom with a room id (int). If I use a room name (String), I don't get the error. In fact, I don't get anything. No Join Room event or Join Room Error event.

ANOTHER UPDATE

Okay, I did more digging to find out you can't join any rooms until you wait for the onRoomListUpdate event to occur. Even if you know the room name or id, if you try to join a room before that event, it won't give an error and just go into the ether.

I would expect to get an error, but this isn't the case. Be aware.