Pass JSON to a Flash movie

匆匆过客 提交于 2019-12-04 08:26:24

As TandemAdam pointed out in his link you will need the AS3Corelib, which gives you access to the JSON class with the static methods JSON.deserialize() and JSON.serrialise().

If you're just communicating with the JavaScript on the page then you will have to continue to pass the JSON strings through ExternalInterface calls.

If you need to communicate with a server you can actually send the JSON strings directly to and from the server using the URLRequest object and URLLoader object.

This post should be helpful to you: ThanksMister - JSON (Lite)

It should point you in the right direction.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!