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

Play symbol more than one time

$
0
0

I have 1 "master"symbol and within a animation

 

This symbol is 2 times on the timeline, hidden at beginning of the timeline

 

there is 2 buttons on the stage with 2 actions

first button

sym.$("mySymbol1").show();

sym.$("mySymbol1").play(0);

 

second button

sym.$("mySymbol2").show();

sym.$("mySymbol2").play(0);

 

and inside the "master" symbol, a button with 2 actions

sym.getComposition().getStage().$("mySymbol1").hide();

sym.getComposition().getStage().$("mySymbol2").hide();

 

The animation is played well at the first click, but not after a second clik on the same button or on the other button


Viewing all articles
Browse latest Browse all 9897

Trending Articles