In our game we are loading a child SWF (from another programmer) which does some JSON serialization/deserialization and we are getting the following error:
ArgumentError: Error #1063: Argument count mismatch on com.adobe.serialization.json::JSONDecoder(). Expected 1, got 2.
at com.fpx.clients.XXXXX.invite::InviteFriends/onUserDataLoaded()[E:\YY\www\common\classes\com\fpx\clients\XXXXX\invite\InviteFriends.as:226]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
So I'm guessing there's a incompatibility between the json classes he is using and the ones I'm using, which come from the SFS AS3 api folder.
I'm wondering what would be the best way to fix this problem without forcing the other programmer to give up on the classes he is using (if it's even possible).
Any suggestions are welcome.
I'm using SFS 1.6.6 (probably without a patch), so I suppose the classes I'm using are the ones which come with that version, but I really don't remember since it's been many months since I installed it.