My experience is low - I am attempting to stringy an object. It came back with a'expected array found object' type of error.
I attempted to track problem by curtailing the object creation function and retesting.
It worked fine till I got to a line that added a child to an existing Container object. The container had previously stringified ok and so did the child but after adding the child to the container the returned jsonObj was 'undefined'.
Any ideas? Should this have worked? Or would one expect problems?
I am using minified 0.8.1
<!DOCTYPE html>
html lang="en">
<head>
<meta charset="UTF-8">
<title>Demo JSON Prob</title>
<script src="easeljs-0.8.1.min.js"></script>
<script>
var dummy;
var aShape =new createjs.Shape();
//jsonObjShape = JSON.stringify(aShape);
var aContainer = new createjs.Container();
// jsonObjContainer = JSON.stringify(aContainer);
aContainer.addChild(aShape);
jsonObjContainerWithChild = JSON.stringify(aContainer);
dummy =0; //put debugger breakpoint here
</script>
</head>
<body>
</body>
</html>