Page 1 of 1

works in flash CS3 but not CS4

Posted: 11 May 2010, 22:58
by koga73
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?

Posted: 07 May 2011, 08:56
by celsyum
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()

Posted: 08 May 2011, 23:54
by BigFIsh
Did you use the same SFS client AS3 API as you did in CS3?

Posted: 12 May 2011, 06:54
by celsyum
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.