so i was making a menu for a game and i was typing in the script.
button.addEventListener(MouseEvent.CLICK, click_1);
function click_1(event:MouseEvent)
{
gotoAndStop(10);
}
and i couldnt figure out why this wasn't working. if i put in the trace it would say that it had been clicked but it wouldn't move to the frame.