# Flash pop-up menu?

**URL:** https://forum.kirupa.com/t/flash-pop-up-menu/185649
**Category:** flash
**Created:** [April 14, 2006, 11:21pm UTC](https://forum.kirupa.com/t/flash-pop-up-menu/185649 "2006-04-14T23:21:45Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Spikez](https://avatars.discourse-cdn.com/v4/letter/s/85f322/32.png) [@Spikez](https://forum.kirupa.com/u/Spikez)
#### Post date: [April 14, 2006, 11:21pm UTC](https://forum.kirupa.com/t/flash-pop-up-menu/185649/1 "2006-04-14T23:21:45Z")

</div>

ive been looking everywhere trying to find out how to make a menu like the one here:  
[http://www.scriptocean.com/poptemplate2.html](http://www.scriptocean.com/poptemplate2.html)

but i cant find any tutorials that work the way that one does, and i need one like that one for what im doing with my site atm.

if someone one would take the time to write a tutorial for me, or even just post the .fla file to it (if you dont wanna make a tutorial) it would be GREATLY appreciated!

---

<div class="post-metadata">

### Author: ![Shadownetspy](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/shadownetspy/32/1883_2.png) [@Shadownetspy](https://forum.kirupa.com/u/Shadownetspy)
#### Post date: [April 15, 2006, 8:37am UTC](https://forum.kirupa.com/t/flash-pop-up-menu/185649/2 "2006-04-15T08:37:25Z")

</div>

Hey, there, Spikez:

I can’t quite remember where the tutorial for this is, but this is what I do for any of my drop-down menus:

First, you make whatever you’re using as your button, a movieclip. Then, on that movieclip, apply this code:

```auto
 
// check to see if the mouse is over the menu every time a new frame is entered
// (at the current frame rate that is 12 times a second)
onClipEvent (enterFrame) {
// if the mouse IS over the menu ...
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
// if the menu is NOT fully open
if (this._currentframe<this._totalframes) {
// go to the next frame of the menu opening sequence
nextFrame();
}
// if the mouse is NOT over the menu
} else {
// if the menu is NOT fully closed
if (this._currentframe>1) {
// play the previous frame of the menu opening sequence
prevFrame();
}
}
}

```

Then, when you edit the movieclip, whatever you make occur in the movieclip will be what happens as a drop-down (or whatever). For example, in your case, when you double-click the movieclip, just make one frame, with a menu, and a series of buttons, then put a stop action on that first frame. That’s it! Hope this helped. Let me know!

-Shadownetspy

---

<div class="post-metadata">

### Author: ![scotty](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@scotty](https://forum.kirupa.com/u/scotty)
#### Post date: [April 15, 2006, 9:03am UTC](https://forum.kirupa.com/t/flash-pop-up-menu/185649/3 "2006-04-15T09:03:39Z")

</div>

[http://www.kirupa.com/developer/actionscript/xml\_dropdown\_menu.htm](http://www.kirupa.com/developer/actionscript/xml_dropdown_menu.htm)

scotty(-:

---

<div class="post-metadata">

### Author: ![Spikez](https://avatars.discourse-cdn.com/v4/letter/s/85f322/32.png) [@Spikez](https://forum.kirupa.com/u/Spikez)
#### Post date: [April 16, 2006, 10:29pm UTC](https://forum.kirupa.com/t/flash-pop-up-menu/185649/4 "2006-04-16T22:29:37Z")

</div>

how do i get the links to load swf’s into movie clips on my page??

---

<div class="post-metadata">

### Author: ![Spikez](https://avatars.discourse-cdn.com/v4/letter/s/85f322/32.png) [@Spikez](https://forum.kirupa.com/u/Spikez)
#### Post date: [April 17, 2006, 4:18am UTC](https://forum.kirupa.com/t/flash-pop-up-menu/185649/5 "2006-04-17T04:18:43Z")

</div>

now how do i get the links to open swf’s in movie clips on the same page?

i coulda sworn i posted this earlier =/

---

<div class="post-metadata">

### Author: ![Spikez](https://avatars.discourse-cdn.com/v4/letter/s/85f322/32.png) [@Spikez](https://forum.kirupa.com/u/Spikez)
#### Post date: [April 20, 2006, 3:48am UTC](https://forum.kirupa.com/t/flash-pop-up-menu/185649/6 "2006-04-20T03:48:02Z")

</div>

> [@Spikez](#):
>
> how do i get the links to load swf’s into movie clips on my page??

can anyone help? ☹
