Hi
I am trying to fintune my webpage www.apneaimages.com under PHOTOGRAPHY and i like to have 2 funktions
-
Slideshow button. I like that the slideshow continoue from the actual picture and not start from the beggining. them I like to have a endless loop
-
To show the pictures I use nummeric buttons and a prev & next button.
Now, when I push the nummeric buttons they change colors and saty blue, so that the viewer know wich Picture he have see.
But this funktion is not working when I use the Next & Prev buttons.
Is there any chance to fix this?
Her some code:
Prev & next Button
stop();
gallery_xml.load("apnea.xml");
prevb.onRelease = function() {
if (cur == 0) {
containerMC.loadPic(pArray.length-1);
} else {
containerMC.loadPic(cur-1);
}
};
nextb.onRelease = function() {
clearInterval(interval);
if (cur == pArray.length-1) {
containerMC.loadPic(0);
} else {
containerMC.loadPic(cur+1);
}
};
Nummeric Button (button number 01)
on (rollOver) {
this.gotoAndStop("over");
}
on (rollOut) {
this.gotoAndStop("up");
}
on (release) {
this.gotoAndStop("down");
_root.containerMC.loadPic(1);
}
Thanks Lambis