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

How to play 2 different symbols with one click?

$
0
0

I've read through several posts that asked similar questions, but none of them seemed to have the exact same issue, and then I just couldn't wrap my head around some of the answers. So I decided to ask my own question.

 

My button is buried within 2 levels of symbols and I want to play the timeline within my current symbol as well as the timeline in the symbol one level up. This is what my hierarchy looks like - stage / fullRadial / smRadial / button

 

So within the actual button code, this is what I have now -

 

sym.play("Blue Spin");

 

sym.getComposition().getStage().getSymbol("fullRadial").play("Purple Corner");


So I'm trying to play a label within smRadial (the symbol my button is inside of) and I want to play a label in the main symbol as well. Right now, it's skipping my first action ("Blue Spin") and it's only playing my "Purple Corner" label.


Is there something simple I can add to have it play both? Thanks for any help you can give.

Randall


Viewing all articles
Browse latest Browse all 9897

Trending Articles