Hey, this is the bare bones of what I’m trying to do. I have two buttons on the staged instanced as “butt” and “butt2” and I wanted a function that would control the look of the buttons when they are rolled over and out. But my problem is: that like this for some reason rolling over one button will cause everything on the stage to go to alpha = 50, not just the button, is there something wrong with my syntax, or am I just going about this in the completely wrong way.
Thanks for any help.
function buttOver(){
this._alpha = 50;
};
function buttOut(){
this._alpha = 100;
};
//BUTTON 1
_root.butt.onRollOver = function(){
buttOver();
};
_root.butt.onRollOut = function(){
buttOut();
};
//BUTTON 2
_root.butt2.onRollOver = function(){
buttOver();
};
_root.butt2.onRollOut = function(){
buttOut();
};