Im trying to create a photo gallery that when you click on the thumbnail image you get a blown up image on the screen. The user will then hit the little "x" button to return to the thumbnail page.
I have attached pictures of what they look like. My issues is that when the user clicks on the little "x" nothing happens on images 2-5. It works fine on image 1. I have fiddled with the code, creating different buttons, using the same button both with different instance names and with different. Still does not work. I do not get any error messages during test either. Im at a loss. Please help!
Here is the code as it stands: (ActionScript 3.0 using Flash CC)
function go_back1(event:MouseEvent):void {
gotoAndStop(1)
}
close1.addEventListener(MouseEvent.CLICK, go_back1);
close2.addEventListener(MouseEvent.CLICK, go_back1);
close3.addEventListener(MouseEvent.CLICK, go_back1);
close4.addEventListener(MouseEvent.CLICK, go_back1);
close5.addEventListener(MouseEvent.CLICK, go_back1);
close6.addEventListener(MouseEvent.CLICK, go_back1);