# Vertical sliding menu

**URL:** https://forum.kirupa.com/t/vertical-sliding-menu/9742
**Category:** Uncategorized
**Created:** [December 17, 2002, 6:35pm UTC](https://forum.kirupa.com/t/vertical-sliding-menu/9742 "2002-12-17T18:35:25Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![monkeygirl](https://avatars.discourse-cdn.com/v4/letter/m/bc8723/32.png) [@monkeygirl](https://forum.kirupa.com/u/monkeygirl)
#### Post date: [December 17, 2002, 6:35pm UTC](https://forum.kirupa.com/t/vertical-sliding-menu/9742/1 "2002-12-17T18:35:25Z")

</div>

Hi, I’m trying to create a vertical sliding menu (it’s basically the infinite menu like in the tutorial except i want it to be vertical instead of horizontal)…can anyone help? THanks!

---

<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 17, 2002, 6:36pm UTC](https://forum.kirupa.com/t/vertical-sliding-menu/9742/2 "2002-12-17T18:36:08Z")

</div>

The same way but instead of using the \_x positions and stuff use \_y positions!

---

<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 17, 2002, 6:40pm UTC](https://forum.kirupa.com/t/vertical-sliding-menu/9742/3 "2002-12-17T18:40:16Z")

</div>

oh yeah duh! haha…i knew that…but I was also wondering how would i make each section clickable and go to a particular frame as it is clicked? THanks!

---

<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 17, 2002, 6:54pm UTC](https://forum.kirupa.com/t/vertical-sliding-menu/9742/4 "2002-12-17T18:54:44Z")

</div>

> \*Originally posted by monkeygirl \*  
> \*\*oh yeah duh! haha…i knew that…but I was also wondering how would i make each section clickable and go to a particular frame as it is clicked? THanks! \*\*

in the get url action field thing

---

<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 17, 2002, 8:56pm UTC](https://forum.kirupa.com/t/vertical-sliding-menu/9742/5 "2002-12-17T20:56:01Z")

</div>

> \*Originally posted by redViper \*  
> \*\*in the get url action field thing \*\*

## What?

Just make a bunch of buttons, convert them into a movieclip! \<— that would be the infinite menu  
now right click on a button and choose actions and you can make actions like this one:  
on(release) {  
\_root.mymovieclip.gotoAndStop(frame);  
}  
change “mymovieclip” to the movieclip you want it to go to a specific frame  
and change “frame” to the frame you want it to go to.  
note: use gotoAndPlay(). to make it go to a frame and start playing from that frame!

---

<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 18, 2002, 1:10am UTC](https://forum.kirupa.com/t/vertical-sliding-menu/9742/6 "2002-12-18T01:10:07Z")

</div>

Thanks for your replies, Syko! I get it now!

---

<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, 1:34am UTC](https://forum.kirupa.com/t/vertical-sliding-menu/9742/7 "2002-12-22T01:34:44Z")

</div>

Ok, here’s what I’ve done.  
So I made the buttons and the movies that I want playing when the button is clicked.  
Let’s say the movie is called square  
The buttons are on the main timeline.  
Where should the movie be? Does it have to be on stage?  
I tried using the script that Syko gave me

on(release){  
\_root.square.gotoAndPlay();  
}

but nothing happens when I click on the button. What am I doing wrong? Please help!

---

<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, 1:40am UTC](https://forum.kirupa.com/t/vertical-sliding-menu/9742/8 "2002-12-22T01:40:41Z")

</div>

Does this do anything?

```auto
on (release) {
  trace ("Hi there");
}

```

---

<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, 2:11am UTC](https://forum.kirupa.com/t/vertical-sliding-menu/9742/9 "2002-12-22T02:11:42Z")

</div>

what does “trace” do? i tried it… it doesn’t work…

---

<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, 2:17am UTC](https://forum.kirupa.com/t/vertical-sliding-menu/9742/10 "2002-12-22T02:17:34Z")

</div>

It’s supposed to output “Hi there”. You must be doing something wrong. Can you post your 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, 2:24am UTC](https://forum.kirupa.com/t/vertical-sliding-menu/9742/11 "2002-12-22T02:24:17Z")

</div>

ok, here’s my testfile…  
i’m not even making a sliding menu right now…all I want to know is how do i make the movie clip “square” play when the button is clicked. Thanks!

---

<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, 2:49am UTC](https://forum.kirupa.com/t/vertical-sliding-menu/9742/12 "2002-12-22T02:49:41Z")

</div>

You need to give it an instance name. It’s in the Properties panel. Other than that it looks OK.

pom :moustache

---

<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, 3:06am UTC](https://forum.kirupa.com/t/vertical-sliding-menu/9742/13 "2002-12-22T03:06:50Z")

</div>

hmm…I just gave it an instance name…but clicking on the button still doesn’t make the movie play…

---

<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, 3:09am UTC](https://forum.kirupa.com/t/vertical-sliding-menu/9742/14 "2002-12-22T03:09:24Z")

</div>

oh i got it ~ i put a stop action in the first frame of the movie…now it works! Thanks a lot! =D
