You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently upgraded to CS6, and had to re-setup all of my AS3 library links. I created a main folder called lib/ and then copied caurina Tweener (/caruina/transitions/...), greensock (/com/greensock/...) and as3corelib (/com/adobe/...) into the lib folder.
Now a previous file I had working is throwing up errors that JSON.decode isn't a defined method..
jsonData = JSON.decode(dataLoader.data);
Call to a possibly undefined method decode through a reference with static type Class.``
However... jsonData = com.adobe.serialization.json.JSON.decode(dataLoader.data); Works perfectly.
Is there a class clash that I'm not seeing here? It's a clean install of CS6, and those are the only scripts I've added to my libs folder.
Thanks for the help
The text was updated successfully, but these errors were encountered:
Change Target from Flash Player 11 to Flash Player 10.3 or lower
If you need to publish in Flash Player 11 or greater then use the native flash JSON class. Look into the native JSON class and the static parse() and stringify() methods.
Hi,
I recently upgraded to CS6, and had to re-setup all of my AS3 library links. I created a main folder called lib/ and then copied caurina Tweener (/caruina/transitions/...), greensock (/com/greensock/...) and as3corelib (/com/adobe/...) into the lib folder.
Now a previous file I had working is throwing up errors that JSON.decode isn't a defined method..
However...
jsonData = com.adobe.serialization.json.JSON.decode(dataLoader.data);
Works perfectly.Is there a class clash that I'm not seeing here? It's a clean install of CS6, and those are the only scripts I've added to my libs folder.
Thanks for the help
The text was updated successfully, but these errors were encountered: