Rollover buttons

i was wondering how to make the effects of a rollover button to go away when you rollover another button but only then. how would i go about that? thanks:cowboy:

You can try something like this. =)

instead on making the button a button, make it a movie clip with normal, over etc states(by keyframing). Then overlay a button with nothing else except the hit keyframe filled (hotspot). Add some actionscript code on the invisible button that plays certain frames of the button movie depending on rollover actions. That way you can leave the “button” in an rollover state until you move to the next button.
You’ll need a bit of actionscript knowledge in order to get the first button to the normal state when the second button is rolled over.
It’s not particularly easy, but it is do-able.

how could i put that code that electronicgeek gave me into this:

on (rollOver) {
tellTarget ("/ocean1") {
gotoAndPlay (“start”);
}
}
on (rollOver) {
var colorful = new Color("_root.ball");
colorful.setRGB(0xcc9933);
}
on (rollOut) {
tellTarget ("/ocean1") {
gotoAndPlay (“continue”);
}
}
on (dragOver, dragOut, keyPress “d”) {
tellTarget ("/arrow/downarrow") {
gotoAndPlay (2);
}
}
on (release) {
getURL (“http://ksuvega.tripod.com/index.htm”);
}