AS3 and JSON : error 1061

前端 未结 2 1408
广开言路
广开言路 2021-01-14 22:18

I spent hours around a possibly stupid problem relative to JSON encoding in FLASH.

I Try to do something very simple : I make an object and I want it to be serialize

2条回答
  •  忘掉有多难
    2021-01-14 22:39

    JSON.parse and JSON.stringfy are the methods you are looking for in Flash Player 11+.

    JSON.encode and JSON.decode were part of the Adobe AS3 lib but since the Flash Player has a native JSON parser now you don't need that class.

提交回复
热议问题