I'm working with edge to make an animation in JS/jQ. All I'm trying to do right now, is initiate a symbol on the stage, and then delete it halfway through the timeline.
So, to begin with, I have a variable called food, that does a sym.createChildSymbol on a symbol called Food_Spanner:
var food = sym.createChildSymbol("Food_Spanner", "Stage");
and then further down on my timeline, I have:
sym.getSymbol(food).deleteSymbol();
When I run it, it isn't deleting it at all, I get an error in my Developer Tools (Google Chrome) "Javascript error in event handler! Event Type = timeline". The animation plays, and my food is initiated, just not removed.