Help with alpha fade!

I have a button that effects the alpha of an MC on mouseover. I can’t figure out how to create a fade with the alpha shift.

This is what I’m using right now. AS is placed on button that controls the MC.

on (rollOver){
_root.background.frame_2._alpha = 25;
_root.background.frame_3._alpha = 25;
_root.background.frame_4._alpha = 25;
_root.background.frame_5._alpha = 25;
_root.background.frame_6._alpha = 25;
}
on (rollOut){
_root.background.frame_2._alpha = 100;
_root.background.frame_3._alpha = 100;
_root.background.frame_4._alpha = 100;
_root.background.frame_5._alpha = 100;
_root.background.frame_6._alpha = 100;
}

Thanks for any assistance.

From that AS you are basically telling it every frame to change the alpha to 25%. If you want it to fade you need to add a - (minus) to the number so each time it changes frames it reduces the alpha by 25%. Of course a + would fade the clip back into view.

Okay, but where does the + & - go??

on (rollOver){
background._alpha -= 25;
}

I believe it would be right after the alpha part next to the = sign. (see above) The above code works for me. I’m not sure off the top of my head how to control the alpha by specific frame, but the way the code above is, each step will lower the alpha by 25% if you are rolling over the button.