I have added a delay function (grabbed from somewhere on the forums) to my buttons to allow a bounce action to catch up, but when stress testing they can get “stuck” on a specific frame. That is to say, if you switch back and forth quickly from btn_1 to btn_2 the content will get stuck at one button. At the moment the first action clears the previous frame by going to an empty one, then a deley, and finally proceeeding to the destination frame.
Any help greatly appreciated.
//example button
mission.onPress = function () {
_root.text.gotoAndStop (“start”);
stop();
mi = setInterval(function () {
_root.text.gotoAndStop (“mission”);
play();
clearInterval(mi);
}, 1000);
updateAfterEvent();
}