Hi Guys,
Is it possible to adjust the brightness property of a button using scripting rather than using a movieclip and telling the movieclip to play on rollover etc.
I've posted an example of what I mean.
Pdue
Oh right, how do you change the alpha gradually then??
to make it so normally the button is at 50% then when you rollover it, gradually it gets up to 100% and stops. When you rollout it gradually goes back down to 50%. ????
whoooooooooops ..
............. did i mention something about graduality .. no i didn't ..
.. the best way to achieve the kinda effect u want, is to use movie clips ... either use movie clips as buttons, or insert a movie clip in the buttons Over state ... make the alpha changes using Tween .. and it would rock !
Theres a Devil inside us all .. only, some are afraid to bring it out !
Now that I look at this and your problem, you could change "_root.clip" with "this". Haven't tried it. Also, try replacing the "_root.clip._alpha = 50;" with "delete this.onEnterFrame". Just a thought...
Last edited by Steve_w_V; 11-27-2003 at 04:26 PM.
The other day, I bought a box of animal crackers. On the side, it said "Do Not Eat if Seal is Broken". I opened the box and sure enough...