# Dropdown button?

**URL:** <https://forum.kirupa.com/t/dropdown-button/10015>\
**Category:** Uncategorized\
**Created:** [December 22, 2002, 8:20pm UTC](https://forum.kirupa.com/t/dropdown-button/10015 "2002-12-22T20:20:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Didiusthegreat](https://avatars.discourse-cdn.com/v4/letter/d/2bfe46/32.png) [@Didiusthegreat](https://forum.kirupa.com/u/Didiusthegreat)\
**Post date:** [December 22, 2002, 8:20pm UTC](https://forum.kirupa.com/t/dropdown-button/10015/1 "2002-12-22T20:20:28Z")

</div>

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();  
}

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 22, 2002, 8:42pm UTC](https://forum.kirupa.com/t/dropdown-button/10015/2 "2002-12-22T20:42:02Z")

</div>

> \*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:

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

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 22, 2002, 8:45pm UTC](https://forum.kirupa.com/t/dropdown-button/10015/3 "2002-12-22T20:45:01Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 22, 2002, 8:48pm UTC](https://forum.kirupa.com/t/dropdown-button/10015/4 "2002-12-22T20:48:03Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 22, 2002, 8:50pm UTC](https://forum.kirupa.com/t/dropdown-button/10015/5 "2002-12-22T20:50:09Z")

</div>

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

but how do make the tabmenu clickable?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 22, 2002, 9:19pm UTC](https://forum.kirupa.com/t/dropdown-button/10015/6 "2002-12-22T21:19:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 22, 2002, 9:24pm UTC](https://forum.kirupa.com/t/dropdown-button/10015/7 "2002-12-22T21:24:07Z")

</div>

Thnx electrongeek.🙂
