Originally Posted By: Germanunkol
This is great code! We were actually thinking about animating a panel the other day, for our project.

Problem is, we'd like to animate a button on a panel, not a panel...

This soooo easy.
You should know that.
I use a transparent button and animate a window beneath it so just make it like this;

panel bla
{
window(blabla)
button(alphachannelimagewithsizeofyourwindow,blabla)
etc.

EDIT:
@ Richi:
Your code will only work if you use quadratic patterns.

Last edited by Puppeteer; 01/03/10 16:18.

Formally known as Omega
Avatar randomness by Quadraxas & Blade
http://omegapuppeteer.mybrute.com