My code:
import flash.events.MouseEvent;
stop();
function goSearch(evt:Event):void {
gotoAndStop("Search");
}
btn_Begin.addEventListener(MouseEvent.CLICK,goSearch);
function goBasement(evt:Event):void {
gotoAndStop("Basement");
}
btn_NoKey.addEventListener(MouseEvent.CLICK,goBasement);
According to Flash, the error is in the last line of my code. I've tried everything I can think of and I absolutely can't figure out why it won't work. I can get the first button ("btn_Begin") to work, but not ("btn_NoKey").
Thanks, in advance!