So I have an invisible button, on top of a movieclip with two frames. I want it to be able to have it show you have visited a button, and for the most part it does that however, I'm getting weird issues whereas if i click on any button, the rest will stick by just rolling over them, without clicking. hard to explain really, here is the example: www.jmfoto.net/whitelabel.html go to "foto" and click on "wedding 1"...here is my as:
gallerynav_mc.gallery1_btn.onRollOver = function(){
gallerynav_mc.gallerybutton1_mc.gotoAndStop (2)
}
gallerynav_mc.gallery1_btn.onRelease = function(){
holder.loadMovie("wedding1/1.jpg");
}

gallerynav_mc.gallery1_btn.onPress = function() {
pressed = true;
gallerynav_mc.gallerybutton1_mc.gotoAndStop(2);
}
if (pressed == true) {
gallerynav_mc.gallerybutton1_mc.gotoAndStop(2);
}
gallerynav_mc.gallery1_btn.onRollOut = function() {
if (pressed == true) {
gallerynav_mc.gallerybutton1_mc.gotoAndStop(2);
}
else {
gallerynav_mc.gallerybutton1_mc.gotoAndStop(1);
}
}

....also, is there a simpler way to write all this code for 15 buttons? thank you for your help.