works in flash CS3 but not CS4

Post here all your questions related with beta SmartFoxServer API, such as Shockwave, Ajax ...

Moderators: Lapo, Bax

koga73
Posts: 1
Joined: 11 May 2010, 22:56

works in flash CS3 but not CS4

Postby koga73 » 11 May 2010, 22:58

So my entire project was built in AS3 using CS3. I opened the CS3 fla file in CS4 and ran the same project and after creating the game room in CS4 it throws the following error while the same code works fine ins CS3:

ReferenceError: Error #1037: Cannot assign to a method map on Array.
at it.gotoandplay.smartfoxserver.handlers::SysHandler/populateVariables()
at it.gotoandplay.smartfoxserver.handlers::SysHandler/handleRoomAdded()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at it.gotoandplay.smartfoxserver.handlers::SysHandler/handleMessage()
at it.gotoandplay.smartfoxserver::SmartFoxClient/xmlReceived()
at it.gotoandplay.smartfoxserver::SmartFoxClient/handleMessage()
at it.gotoandplay.smartfoxserver::SmartFoxClient/handleSocketData()
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()


Any ideas?
celsyum
Posts: 9
Joined: 13 May 2010, 11:57

Postby celsyum » 07 May 2011, 08:56

same to me :?

ReferenceError: Error #1037: Cannot assign to a method map on Array.
at net.terrait.mmo::ServerConnection/onSFSRoomJoined()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at it.gotoandplay.smartfoxserver.handlers::SysHandler/handleJoinOk()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at it.gotoandplay.smartfoxserver.handlers::SysHandler/handleMessage()
at it.gotoandplay.smartfoxserver::SmartFoxClient/xmlReceived()
at it.gotoandplay.smartfoxserver::SmartFoxClient/handleMessage()
at it.gotoandplay.smartfoxserver::SmartFoxClient/handleSocketData()
User avatar
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Postby BigFIsh » 08 May 2011, 23:54

Did you use the same SFS client AS3 API as you did in CS3?
Smartfox's forum is my daily newspaper.
celsyum
Posts: 9
Joined: 13 May 2010, 11:57

Postby celsyum » 12 May 2011, 06:54

everything was the same. I also use OpenSpace2 component , which has smartfoxServer classes included(which may be old one) and in CS4 maybe there are different priority in handling libraries.

Return to “Other Client API”

Who is online

Users browsing this forum: No registered users and 12 guests