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");
}
Ok I think the buttons are sticking because 'pressed' is a parent variable that all the buttons are referencing. they each need an individual 'pressed' variable to be specified. You can speed up the code using a loop function
I greatly appreciate your response. I understand what you mean but I dont know how to do it. I tried to use your coding but unfortunately it did not work. I doubt it but does it matter that I only have one mc i used under the button, just copied to the stage with different instance names? I really appreciate the help.
Sorry it didn't work. Any chance I could see the fla file? The code I wrote is dependent on you naming the instances as follows:
gallery1_btn
gallery2_btn
gallery3_btn etc...