I have six buttons on my stage and whichever one is pressed send the playhead to the framelabel respectively, this is the code
numOfBtn = 6;
stop();
for (i=0; i<numOfBtn+1; i++) {
this["btn"+i].num = i;
this["btn"+i].onRelease = function() {
gotoAndStop("frm"+(this.num+1));
};
}
But before it goes to the framelabel I want the playhead to play first and THEN go to the framelabel… Any ideas? Should I remove this line gotoAndStop(“frm”+(this.num+1)); and add it further down the playhead? It doesn’t seem to work