Computer Science Canada


Author:  Martin [ Mon May 10, 2004 8:32 pm ]
Post subject:  Buttons

I want to make a button animation that, when hovered over it fades towards black, and then when not hovered over, it fades back towards gray. So I figured that the best way to do this without flickering would be to use this._alpha, and increase or decrease that value depending on where the mouse was. This didn't work for some reason. Anyone know why, and how I can fix it/do this a different way? Thanks.