Buttons problem

As you know i live in belgium, so this site is dutch, but that’s not important!

http://www.collegeveurne.be

Well, on the left of this page you have the button: normal if you rollover it, it start turning. Now what I want to know is: How do you let the button return to it’s original state, when you rollout?

thx=)

Hi,

use something like this in the last frame of the rotation animation:

if (rolledOver){
gotoAndPlay(1);
else{
gotoAndStop(1);
}

then in the button itself:
on(rollOver){
instanceName.play();
instanceName.rolledOver= true;
}
on(rollOut){
instanceName.rolledOver= false;
}

cheers

Mmm, it’s been a while, kirupa’s still the same (new smilies though). Well, eki’s right. Just use if-commands, but those buttons are rather complicated, congratulations to the creator…

Hahaha

P.S. I made those buttons :evil:

Seticus