I have the following action related to some buttons in my site:
button_1.onPress = function() {
xMove = button_1._x;
gotoAndPlay(“Scene 2”, “about_us”);
};
and this on the buttons:
on (rollOver) {
// slider - Movie Clip’s Instance Name. button_1 - Button’s Instance Name.
slider.xMove = button_1._x;
}
What I need to put somewhere in the first or second script is something that says if this button was just pressed don’t allow it to be pressed again, or something like that. Basically i can hit the button over and over again and it just keeps reloading the gotoAndPlay request.
Please help.