# Scrolling menu \[you gauys are my last hope\]

**URL:** <https://forum.kirupa.com/t/scrolling-menu-you-gauys-are-my-last-hope/7242>\
**Category:** Uncategorized\
**Created:** [October 26, 2002, 3:25pm UTC](https://forum.kirupa.com/t/scrolling-menu-you-gauys-are-my-last-hope/7242 "2002-10-26T15:25:28Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![LippuZz](https://avatars.discourse-cdn.com/v4/letter/l/3d9bf3/32.png) [@LippuZz](https://forum.kirupa.com/u/LippuZz)\
**Post date:** [October 26, 2002, 3:25pm UTC](https://forum.kirupa.com/t/scrolling-menu-you-gauys-are-my-last-hope/7242/1 "2002-10-26T15:25:28Z")

</div>

heey guys,  
i wanna make a horizontal scroling menu with thums in it (about 36). when click on it, it has to load another movie.  
if you go with tour mouse to the right, it’s gonna scroll faster, in the middle it stops, and mouse to the left it must scroll faster in the opposite direction of the right side (you know the idee).  
i’ve d/l some samples from flashkit, but i can’t figure out how, and were to putt the action script.  
And with the samples are alot of xtras in the menu’s, wich i won’t want, and their also in actionscript, so it’s more harder to tell wich actionscript i need only for the scroling part.

can somebody plz help me, you are my last hope :\*(

---

<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:** [October 26, 2002, 5:36pm UTC](https://forum.kirupa.com/t/scrolling-menu-you-gauys-are-my-last-hope/7242/2 "2002-10-26T17:36:20Z")

</div>

Did you check the tutes? It’s the first on the main page, and the featured tute of the week… :x

---

<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:** [October 26, 2002, 5:52pm UTC](https://forum.kirupa.com/t/scrolling-menu-you-gauys-are-my-last-hope/7242/3 "2002-10-26T17:52:52Z")

</div>

did it after i read tour reply, but can’t find it :-\  
can put a link here or something

---

<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:** [October 26, 2002, 6:13pm UTC](https://forum.kirupa.com/t/scrolling-menu-you-gauys-are-my-last-hope/7242/4 "2002-10-26T18:13:29Z")

</div>

[http://www.kirupa.com/developer/mx/infinite.asp](http://www.kirupa.com/developer/mx/infinite.asp)

---

<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:** [October 26, 2002, 8:52pm UTC](https://forum.kirupa.com/t/scrolling-menu-you-gauys-are-my-last-hope/7242/5 "2002-10-26T20:52:17Z")

</div>

:_( :_( :_( :_(  
can’t open the source file eivh you have to d/l  
i’m running flash 5, hope not that that’s the prob

verry nice tute though

---

<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:** [October 26, 2002, 8:55pm UTC](https://forum.kirupa.com/t/scrolling-menu-you-gauys-are-my-last-hope/7242/6 "2002-10-26T20:55:19Z")

</div>

Even though the file doesn’t open since it was made in Flash MX, the code should work just the same in Flash 5.

So if you follow the tutorial it should all work out anyway, even without the source file.

---

<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:** [October 26, 2002, 9:09pm UTC](https://forum.kirupa.com/t/scrolling-menu-you-gauys-are-my-last-hope/7242/7 "2002-10-26T21:09:36Z")

</div>

Tnx for the verry verry fast reply:o  
Read the tute and saw that i didn’t need the source file indeed.  
there is yet one part which i do not understand  
 ![](http://www.kirupa.com/developer/mx/images/infinite1.jpg)  
the registration part.

i can’t find where i set thode settings.

---

<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:** [October 26, 2002, 9:14pm UTC](https://forum.kirupa.com/t/scrolling-menu-you-gauys-are-my-last-hope/7242/8 "2002-10-26T21:14:16Z")

</div>

Hmmm, I use Flash MX as well so I don’t know where they are in Flash 5.

[http://www.kirupa.com/developer/mx/rpoint.asp](http://www.kirupa.com/developer/mx/rpoint.asp)

There is a tutorial for MX on editing the registration point.

It \<I\>\<U\>might\</U\>\</I\> be of some help to you.

---

<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:** [October 26, 2002, 9:25pm UTC](https://forum.kirupa.com/t/scrolling-menu-you-gauys-are-my-last-hope/7242/9 "2002-10-26T21:25:42Z")

</div>

in other words:  
the registration point in the turning point of your object?

---

<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:** [October 26, 2002, 9:27pm UTC](https://forum.kirupa.com/t/scrolling-menu-you-gauys-are-my-last-hope/7242/10 "2002-10-26T21:27:09Z")

</div>

Yeah… its like the center of your clip.

You move that point to change the centerpoint of your clip.

if the center of your clip is in the upper left hand corner, if you spin it it will rotate from that point, etc.

---

<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:** [October 26, 2002, 9:41pm UTC](https://forum.kirupa.com/t/scrolling-menu-you-gauys-are-my-last-hope/7242/11 "2002-10-26T21:41:56Z")

</div>

🙂 🙂  
almost done  
only were doe i put this actionscript

onClipEvent (enterFrame)  
{  
var distance=\_root.\_xmouse-xcenter;  
\_x+=(distance\*speed);  
if (\_x \> 0) \_x=-300;  
if (\_x \< -300) \_x=0;  
}

just under the other, so in the movieclips?

---

<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:** [October 26, 2002, 9:49pm UTC](https://forum.kirupa.com/t/scrolling-menu-you-gauys-are-my-last-hope/7242/12 "2002-10-26T21:49:31Z")

</div>

```auto
onClipEvent (load)
{
   xcenter=150;
   speed=1/10;
}
onClipEvent (enterFrame)
{
   var distance=_root._xmouse-xcenter;
   _x+=(distance*speed);
}

```

Will become

```auto
onClipEvent (load)
{
   xcenter=150;
   speed=1/10;
}
onClipEvent (enterFrame)
{
   var distance=_root._xmouse-xcenter;
   _x+=(distance*speed);
   if (_x > 0) _x=-300;
   if (_x < -300) _x=0;
}

```

That is all there is to it.

---

<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:** [October 26, 2002, 10:13pm UTC](https://forum.kirupa.com/t/scrolling-menu-you-gauys-are-my-last-hope/7242/13 "2002-10-26T22:13:37Z")

</div>

alright, i get it  
tnx alot for your help m8  
it’s only guissing for the vallue of the last 2 valluess (if u know what i mean)

Ciaozz

---

<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:** [October 26, 2002, 10:20pm UTC](https://forum.kirupa.com/t/scrolling-menu-you-gauys-are-my-last-hope/7242/14 "2002-10-26T22:20:01Z")

</div>

Yeah, those values depend on the width of your clip and the width of your movie.

I usually just do guess and check when faced with that.

Either that or you can take the width of your movie, and in this case add the width of your movie clip. and you can move it 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:** [October 27, 2002, 8:32am UTC](https://forum.kirupa.com/t/scrolling-menu-you-gauys-are-my-last-hope/7242/15 "2002-10-27T08:32:43Z")

</div>

:beam: :beam: :beam:

Good job!!

---

<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:** [October 27, 2002, 8:53am UTC](https://forum.kirupa.com/t/scrolling-menu-you-gauys-are-my-last-hope/7242/16 "2002-10-27T08:53:57Z")

</div>

![](http://www.kirupa.com/forums/smileys_files/banana.gif)

---

<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:** [October 27, 2002, 9:13am UTC](https://forum.kirupa.com/t/scrolling-menu-you-gauys-are-my-last-hope/7242/17 "2002-10-27T09:13:28Z")

</div>

Urgh!!!

---

<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:** [October 27, 2002, 5:25pm UTC](https://forum.kirupa.com/t/scrolling-menu-you-gauys-are-my-last-hope/7242/18 "2002-10-27T17:25:33Z")

</div>

well guys, i celebrated too fast. i still have a few questions left

1- the copied moviedoes it as to start at the end of the other clip, or, has it to start on the end of movie?  
2- i can only choose a registration point on the upper left or the centrer. does this matter?  
3- when i have done the whole tute, and checked the vallues, and i try the clip out (and i’m sure of it that the vallues are almost correct) the clip doesn’t roll but it starts some were in the middle of the movie, it kinda overlap the other instead of beginnnig right behind it. and if i adjust the values just a little bit, it starts at the end of the movie, so you get a gap. where lies the prob here?  
[edit]  
4- does the 2 ‘guessed vallues’ have to bee the same?  
[/edit]

:-\ :-\
