var JSON is not defined in flash professional cs6
hi everyone! i'm newbie.
i'm running flash cs6 , attempting use json calls in flash player 11.2. when test movie, fine. when publish swf, have error:
referenceerror: error #1065: variable json not defined.
at loading::loading/docmd().
please tell me how fix it. thanks.
json supported natively in new version.
i used use adobe json serialization class: "import com.adobe.serialization.json.json" when decoding used function "json.decode()".
the native json class has changed function 'json.parse()". try removing old json class import , changing decode functions parse.
More discussions in Adobe Animate CC - General
adobe
Comments
Post a Comment