# Menu control

**URL:** <https://forum.kirupa.com/t/menu-control/60949>\
**Category:** Uncategorized\
**Created:** [August 14, 2004, 2:26am UTC](https://forum.kirupa.com/t/menu-control/60949 "2004-08-14T02:26:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skribble](https://avatars.discourse-cdn.com/v4/letter/s/b487fb/32.png) [@Skribble](https://forum.kirupa.com/u/Skribble)\
**Post date:** [August 14, 2004, 2:26am UTC](https://forum.kirupa.com/t/menu-control/60949/1 "2004-08-14T02:26:29Z")

</div>

hey guys i have a couple of questions.

i have a menu that controls my movie right, i was wondering how i could make a little sliding bar like on a media player. where u slide it to a certain spot and it goes to a certain spot in the movie.

also i would like to know how i could get my menu to stay throughout my whole movie?

---

<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:** [August 14, 2004, 2:48am UTC](https://forum.kirupa.com/t/menu-control/60949/2 "2004-08-14T02:48:53Z")

</div>

> [@Skribble](#):
>
> …also i would like to know how i could get my menu to stay throughout my whole movie?

Put it in its own layer and just add a bunch of frames (F5) so that it matches up to the highest number of frames you have… I don’t know if that made sense? :h:

---

<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:** [August 14, 2004, 5:54am UTC](https://forum.kirupa.com/t/menu-control/60949/3 "2004-08-14T05:54:38Z")

</div>

isn’t there a component that does exactly that. its in the component window in flash.

---

<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:** [August 14, 2004, 9:47am UTC](https://forum.kirupa.com/t/menu-control/60949/4 "2004-08-14T09:47:20Z")

</div>

nah thats for media that is loaded into the movie. as for keeping it on the movie. it wont work coz i have different scenes. and if u have it open during scenes then it jumps back down below the movie

---

<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:** [August 14, 2004, 3:48pm UTC](https://forum.kirupa.com/t/menu-control/60949/5 "2004-08-14T15:48:48Z")

</div>

oh ok cuz i was tryin to get it to work myself!

---

<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:** [August 14, 2004, 11:26pm UTC](https://forum.kirupa.com/t/menu-control/60949/6 "2004-08-14T23:26:38Z")

</div>

hows about taking the \_x position of your slider and relating it to the frames of your movie…

say your movie has 100 frames, and your slider moves from 50 to 250

```auto
on (press) {
	_root.slider.startDrag(1,50,250,250,250)
}
on(release){
	_root.slider.stopDrag()
	_root.movie.gotoAndPlay((_root.slider._x-50)/2)
}

```

wer the slider is a movie clip with one frame, in which is the button with the above code on…

Prophet.
