I have 8 thumbnail mc’s working as buttons (thumb_01,thumb_02 …thumb_08) those thumbnails are in another mc (thumbsMC). I control the thumbs with the following function:
function setThumbs() {
for (var i in thumbsMc) {
if (thumbsMc*._name.substr(0, 6) == "thumb_") {
clip = thumbsMc*;
clip.onRollOver = function() {
this.gotoAndStop(2);
};
clip.onRollOut = function() {
this.gotoAndStop(1);
};
}
}
}
setThumbs();
What I would like to accomplish now that if a thumb is pressed, that that one stay at frame 2 and that the other ones are going back to frame one. How should I do this?
Thanks in advance