Hello.
I need to be able to target the timeline with JS from a button. I am trying gotoAndStop(3); but this doesn’t seem to be working?
Specifically I have this old Hippani random generating code I am tryng to translate to Saola Animate:
var R=Math.floor((Math.random()*6)+1);
if(R==1){
GotoAndStop(0);
}
if(R==2){
GotoAndStop(1);
}
if(R==3){
GotoAndStop(2);
}
Many thanks
Deek