# Game-like menu?

**URL:** <https://forum.kirupa.com/t/game-like-menu/145347>\
**Category:** Uncategorized\
**Created:** [April 21, 2005, 7:30pm UTC](https://forum.kirupa.com/t/game-like-menu/145347 "2005-04-21T19:30:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjfunkydude](https://avatars.discourse-cdn.com/v4/letter/j/3e96dc/32.png) [@jjfunkydude](https://forum.kirupa.com/u/jjfunkydude)\
**Post date:** [April 21, 2005, 7:30pm UTC](https://forum.kirupa.com/t/game-like-menu/145347/1 "2005-04-21T19:30:08Z")

</div>

Hey guys, Im having a little trouble.

I have a menu for a website in flash where, an mc moves up and down and shoots…so that when the projectile MC hits a button, it clicks it.

I have two questions…  
1.) How do I make it so that the MC follows the mouse (like a custom cursor)…but is restricted to only going vertically  
2.) how would you make it so that the mc can shoot anywhere…but when the fired MC hits a button, it acts as if it was clicked?

My AS knowledge…is…very basic…so if you have any free time could you explain the codes?..so that I can learn from this…rather then just stealing your codes…

but…if you want to just let me copy and paste…thats cool too 😛

thanks in advance guys  
-jon
