# Please help!

**URL:** <https://forum.kirupa.com/t/please-help/13802>\
**Category:** Uncategorized\
**Created:** [February 18, 2003, 1:27pm UTC](https://forum.kirupa.com/t/please-help/13802 "2003-02-18T13:27:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dana](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@dana](https://forum.kirupa.com/u/dana)\
**Post date:** [February 18, 2003, 1:27pm UTC](https://forum.kirupa.com/t/please-help/13802/1 "2003-02-18T13:27:28Z")

</div>

I saw a cool menu at [www.bukwild.com](http://www.bukwild.com). I try to make one of my own and have used this script;

onClipEvent (load) {  
\_x = 0;  
speed = 5;  
}  
onClipEvent (enterFrame) {  
endX = \_root.\_xmouse;  
\_x += (endX-\_x)/speed;  
}

it work fine but when i put a nother button on the stage whit the same action script, the 2 buttons are on the same place.

I try to set different numbers into the script but the buttons still not go how it suppose.

On the site [www.bukwild.com](http://www.bukwild.com) they not on the same place and they not go above each other. How can i fix this?

Please help me,  
check this site; [www.bukwild.com](http://www.bukwild.com) and tell me how they did 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:** [February 18, 2003, 1:32pm UTC](https://forum.kirupa.com/t/please-help/13802/2 "2003-02-18T13:32:25Z")

</div>

in bukwild the outter buttons use an offset  
\_xmouse + 50  
or  
\_xmouse - 50  
depending on the side.

Also, the ease doesnt occur until the mouse leaves the x bounding area of all the buttons (otherwise you wouldnt be able to click on the outter buttons because theyd keep moving out away from the mouse with the offset)

---

<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:** [February 18, 2003, 1:45pm UTC](https://forum.kirupa.com/t/please-help/13802/3 "2003-02-18T13:45:13Z")

</div>

thanks!  
how can i do that, that they only follow when your not above those buttons?

---

<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:** [February 18, 2003, 1:51pm UTC](https://forum.kirupa.com/t/please-help/13802/4 "2003-02-18T13:51:51Z")

</div>

and when i used  
\_xmouse + 50  
or  
\_xmouse - 50

than they move not above each other, but they move next to each other whit the same space all the time.

How can i change this?

---

<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:** [February 18, 2003, 2:08pm UTC](https://forum.kirupa.com/t/please-help/13802/5 "2003-02-18T14:08:32Z")

</div>

now i have it almost!  
i have 3 mc and in each mc a button

actionscrip for MC1=

onClipEvent (load) {  
\_x = 0;  
speed = 5/1;  
}  
onClipEvent (enterFrame) {  
endX = \_root.\_xmouse-25;  
\_x += (endX-\_x)/speed;  
}
