Dropdown button?

Hi all

Electrongeek has once made a button (I’ve added the one)

Now I would like to know why it is not possible to add this code on a button?

on (rollOver) {
_root.box1.nextFrame();
}

*Originally posted by Didiusthegreat *
**Hi all

Electrongeek has once made a button (I’ve added the one)

Now I would like to know why it is not possible to add this code on a button?

on (rollOver) {
_root.box1.nextFrame();
} **

That action does work, you just have to rollover it several times. Why do you want to change it? The action that I have on it now works already. I have this on it:

 onClipEvent (enterFrame) {
 if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
 _root.box1.nextFrame();
 } else {
 _root.box1.prevFrame();
 }
}

Yes that’s right but a couple of questions then:

How do you let the cursor change in a hand when you rollover?

How can you click the button that have appear?

Ohhh I see, here you go, I made a fake button inside the movieclip so that the hand appears. Hope that is what you wanted. =) Here’s the fla.

■■■■, you’re right. How could I be so stupid…

but how do make the tabmenu clickable?

Here you go, its clickable now, I made some changes to the code and I place everything into one movie clip. =)

Thnx electrongeek.:slight_smile: