Hi,
I have a slide show with 4 images that rotate. I have 4 frames of navigation that change with the picture. However, the navigation only works when the first frame is showing.
This is my actionscript code:
import flash.events.MouseEvent;
f1thumb1_btn.addEventListener(MouseEvent.CLICK, photoOneClick);
f1thumb2_btn.addEventListener(MouseEvent.CLICK, photoTwoClick);
f1thumb3_btn.addEventListener(MouseEvent.CLICK, photoThreeClick);
f1thumb4_btn.addEventListener(MouseEvent.CLICK, photoFourClick);
f1arrowleft_btn.addEventListener(MouseEvent.CLICK, photoFourClick);
f1arrowright_btn.addEventListener(MouseEvent.CLICK, photoTwoClick);
f2thumb1_btn.addEventListener(MouseEvent.CLICK, photoOneClick);
f2thumb2_btn.addEventListener(MouseEvent.CLICK, photoTwoClick);
f2thumb3_btn.addEventListener(MouseEvent.CLICK, photoThreeClick);
f2thumb4_btn.addEventListener(MouseEvent.CLICK, photoFourClick);
f2arrowleft_btn.addEventListener(MouseEvent.CLICK, photoOneClick);
f2arrowright_btn.addEventListener(MouseEvent.CLICK, photoThreeClick);
f3thumb1_btn.addEventListener(MouseEvent.CLICK, photoOneClick);
f3thumb2_btn.addEventListener(MouseEvent.CLICK, photoTwoClick);
f3thumb3_btn.addEventListener(MouseEvent.CLICK, photoThreeClick);
f3thumb4_btn.addEventListener(MouseEvent.CLICK, photoFourClick);
f3arrowleft_btn.addEventListener(MouseEvent.CLICK, photoTwoClick);
f3arrowright_btn.addEventListener(MouseEvent.CLICK, photoFourClick);
f4thumb1_btn.addEventListener(MouseEvent.CLICK, photoOneClick);
f4thumb2_btn.addEventListener(MouseEvent.CLICK, photoTwoClick);
f4thumb3_btn.addEventListener(MouseEvent.CLICK, photoThreeClick);
f4thumb4_btn.addEventListener(MouseEvent.CLICK, photoFourClick);
f4arrowleft_btn.addEventListener(MouseEvent.CLICK, photoThreeClick);
f4arrowright_btn.addEventListener(MouseEvent.CLICK, photoOneClick);
function photoOneClick(event:MouseEvent):void{
gotoAndPlay("photoOne");
}
function photoTwoClick(event:MouseEvent):void{
gotoAndPlay("photoTwo");
}
function photoThreeClick(event:MouseEvent):void{
gotoAndPlay("photoThree");
}
function photoFourClick(event:MouseEvent):void{
gotoAndPlay("photoFour");
}