Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 86170

createChildSymbol inside content box

$
0
0

Hi all,

rather stuck...

So i have main stage - with a content box on it

Buttons can be clicked and they call up a symbol inside the content box using this code:

 

sym.$("content").empty();

sym.createChildSymbol("blah", "content");

 

works great - but I've got so many buttons now I needed to create a nested drop down menu - which looks great...

but now none of the menu buttons work with the code I have above - either nothing happens or bits of the menu disappear or other strange happenings!

 

I've put

sym.getStage().$("content").empty();

sym.getStage().createChildSymbol("blah","content");

 

But that doesn't work, I also tried getComposition too but that doesn't work either.

 

Does anyone have any suggestions?

 

Thank you


Viewing all articles
Browse latest Browse all 86170

Trending Articles



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