This is my first try at loading a json file, and I'm not doing very well. I'm using Simon's (Edge Docks) method he shows in his video Using Templates to render Dynamic Data (Adobe Edge Animate Online Week, Episode 6) - YouTube
I'm following it nearly word for word (changed the names of a couple of objects, but reflected the changes in the code), but can't get the Symbol to load. Here's my code:
$.getJSON("options.json")
.success(
function(data){
console.log("incoming data: ", data);
// do something with incoming data
$.each(data, function(index, item){
var s = sym.createChildSymbol( "template", "Holder01" );
s.play();
});
}
);
"Holder01" is the container that I'm trying to load the symbol named "template" into.
Any ideas?
Thanks