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

CreateChildSymbol, then Delete it?

$
0
0

Hello,

 

I'm trying to delete a symbol after I have created it. At the start of my main timeline, I can create a symbol without any issues. But trying to then remove that symbol is a problem, it just wont do it... It keeps added the same symbol one under another (timeline is on a loop). This is on my first frame:

 

sym.createChildSymbol("Food_Spanner", "DropPoint");
var food_sym = Food_Spanner.getSymbolElement();

 

Then about 15 frames later:

 

food_sym.deleteSymbol(); //nothing

//so I try this:

sym.getSymbol("Food_Spanner").deleteSymbol(); //nothing
sym.getSymbol(food_sym).deleteSymbol(); //again, nothing

 

What am I doing wrong here?


Viewing all articles
Browse latest Browse all 9897

Trending Articles



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