Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Symbol not loading

$
0
0

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


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>