> What if the transition is just a simple fade from one skin to the
> next. Does that make things any easier? The Button class has a
> transitions property, so why can't that be leveraged?

As Alex mentioned, the transitions property won't help you.

But, if all you want is a simple fade from one skin to the next that
*does* make things a bit easier to implement. You still have to
implement a custom skin, one in which you have the giant switch
statement selecting the skin based on whether its "up" "down" "over"
etc. Just google some tutorials on programmatic skins and you should
find some good examples (one in particular uses a radial gauge as an
example).

Once you have your programmatic skin doing basic switching between
states, you then just modify your giant switch statement so that when
the skin changes you start a timer that fades out the current skin and
fades in the new skin (or use an animation library).

Troy.

Reply via email to