Hey, I have a series of 3 movie clips, serving as buttons… When you “press” one of the buttons they enter a “hit” state… then when you press any of the other two buttons in the row the “hit” state fades out…
My question is … how would I do that for a movie clip that doesnt fall in the same cluster as those 3 buttons…? somthing tells me that its somthing simple, and Im an idiot… but all I need is for somone to help me figure that out, and my site is done… so ANY help or suggestions would be fantastic…
here is the code of the buttons in the cluster…
on (press) {
if (_parent._parent.menuHolder<>this._name) {
this.gotoAndStop(“fadeOut”);
_parent._parent.menu[_parent._parent.menuHolder].gotoAndPlay(“fadeOut”);
_parent._parent.menuHolder = this._name;
_parent._parent.movie.loadMovie(this._name+“.swf”);
_parent._parent.clickSound.start();
_root.bgColor.fadeColor(0x708C0E);
}
}
and here is where I would like to add the “FadeOut” action upon press
elementBg.onPress = function() {
_parent._parent.newWindow(950,450, “project.swf”, “project”+menuNum, bgColor);
_root.currentProject = identifier;
}
I added the actions to the above movie clip, but it wouldnt work…? is it a _root or _parent thing? how would I target the “hit button” ?