# Menu problem

**URL:** <https://forum.kirupa.com/t/menu-problem/182835>\
**Category:** Uncategorized\
**Created:** [March 21, 2006, 8:14pm UTC](https://forum.kirupa.com/t/menu-problem/182835 "2006-03-21T20:14:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Remnorz](https://avatars.discourse-cdn.com/v4/letter/r/3e96dc/32.png) [@Remnorz](https://forum.kirupa.com/u/Remnorz)\
**Post date:** [March 21, 2006, 8:14pm UTC](https://forum.kirupa.com/t/menu-problem/182835/1 "2006-03-21T20:14:28Z")

</div>

Ok, here’s my problem… I want to make a menu with a compas in the center, and when I click on the menu Item, the compas should move the “north” arrow to the selected item. I know a bit about commands already, but can’t imagine a way on how to do this. I figure it should be a MC and the such, but any suggestions will be welcome :).

---

<div class="post-metadata">

**Author:** ![pkcidstudio](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@pkcidstudio](https://forum.kirupa.com/u/pkcidstudio)\
**Post date:** [March 21, 2006, 10:16pm UTC](https://forum.kirupa.com/t/menu-problem/182835/2 "2006-03-21T22:16:21Z")

</div>

> [@Remnorz](#):
>
> Ok, here’s my problem… I want to make a menu with a compas in the center, and when I click on the menu Item, the compas should move the “north” arrow to the selected item. I know a bit about commands already, but can’t imagine a way on how to do this. I figure it should be a MC and the such, but any suggestions will be welcome :).

something you can try…  
make impassable walls, and then a follow mouse script.

> **[kirupa.com - Springs: Elasticity, Physics, and Flash MX](https://www.kirupa.com/developer/actionscript/spring.htm)**
>
> In this great tutorial, learn how to integrate physics into Flash ActionScript by re-creating an elastic spring effect.

something along these lines but then put into effect wall effect so that the object cant pass.

ill research more but i am thinking that might be a good start i put in a swf that i did using this script. but what i did was alter the y\_axis so it could only go on the x\_axis

---

<div class="post-metadata">

**Author:** ![Remnorz](https://avatars.discourse-cdn.com/v4/letter/r/3e96dc/32.png) [@Remnorz](https://forum.kirupa.com/u/Remnorz)\
**Post date:** [March 22, 2006, 12:11am UTC](https://forum.kirupa.com/t/menu-problem/182835/3 "2006-03-22T00:11:57Z")

</div>

nice script 🙂 k I’ll read the link you gave 😉

---

<div class="post-metadata">

**Author:** ![Remnorz](https://avatars.discourse-cdn.com/v4/letter/r/3e96dc/32.png) [@Remnorz](https://forum.kirupa.com/u/Remnorz)\
**Post date:** [March 22, 2006, 1:18am UTC](https://forum.kirupa.com/t/menu-problem/182835/4 "2006-03-22T01:18:33Z")

</div>

I have an idea, that will make my life easier while I figure another way… instead of moving the whole compas, I will move only the N that starts in an \_x position to another \_x position.

It should make the whole thing a lot easier ;).

---

<div class="post-metadata">

**Author:** ![Remnorz](https://avatars.discourse-cdn.com/v4/letter/r/3e96dc/32.png) [@Remnorz](https://forum.kirupa.com/u/Remnorz)\
**Post date:** [March 22, 2006, 6:04pm UTC](https://forum.kirupa.com/t/menu-problem/182835/5 "2006-03-22T18:04:40Z")

</div>

I don’t want to repost this 😉 so I’m bumping it, if someone can tell me how to change the x and y position of an item in this case the N item, once an user clicks on a button that loads another swf. I was going for the whole compas movement but for now a simple \_x \_y change will do :).
