Two buttons, one doesn't work
So I have two buttons on two different layers and I created each button separately to avoid any double instance issues. I am working in HTML 5 and in my script I have the function for both buttons on the same script frame.
this.stop();
this.path1.addEventListener("click", path1Clicked.bind(this));
function path1Clicked()
{
this.gotoAndPlay(2304);
}
this.path2.addEventListener("click", path2Clicked.bind(this));
function path2Clicked()
{
this.gotoAndPlay(2304);
}
The path2 button works and goes to frame 2304 when I click on it, however. The path1 button does not work and I still can click it as though its a button, but it doesn't goto frame 2304
