PDA

View Full Version : Fading Button


StormINK
08-11-2005, 03:06 PM
Is it possible to have a button fade back to its 'Up' form when the mouse leaves the button?

on(rollOut)

Any help appreciated. Thanks.

Ricod
08-12-2005, 05:29 AM
Yes, but the code will depend on how you have your 'up' and other states. Are they different graphics or are they actually the same graphics with some effects applied to them ?

You can just do a search on 'fade' and setInterVal() or onClipEventEnterFrame for some examples.