MXMLC throws error for JSON object, Flash Builder OK
i have code in project compiled fine in flash builder 4.5 (using 4.1 sdk). trying build command-line build using sublime text 2, , fails on code:
var objsend:object = new object(); var datastring:string = json.encode(packageddata); datastring = escape(datastring); objsend.jsonsenddata = datastring;
it gives error on second line:
error: access of undefined property json.
why? there need include?
which json library using? if 1 built flash, make sure have right playerglobal.swc , –swf-version settings.
alex harui
apache flex team
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment