# Easing arrow

**URL:** <https://forum.kirupa.com/t/easing-arrow/19381>\
**Category:** flash\
**Created:** [April 27, 2003, 1:04pm UTC](https://forum.kirupa.com/t/easing-arrow/19381 "2003-04-27T13:04:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sceleratus](https://avatars.discourse-cdn.com/v4/letter/s/e19b73/32.png) [@Sceleratus](https://forum.kirupa.com/u/Sceleratus)\
**Post date:** [April 27, 2003, 1:04pm UTC](https://forum.kirupa.com/t/easing-arrow/19381/1 "2003-04-27T13:04:57Z")

</div>

On my page Im having a easing arrow that follows the  
mouse in the navigation.

In my first frame of the menu Mc Im using this script :

\_global.originalWidth = bar.\_width;  
bar.onEnterFrame = function() {  
this.\_x += (this.x-this.\_x)/10;  
};

And on the buttons Im using this script:

on (rollOver) {  
bar.x = Button1.\_x;  
bar.\_width = Button1.\_width+2;  
}

The problem is when I load the Mc the arrow begins in the  
center of the Mc. What can I do to make it start on the  
right side of the Mc ?

---

<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:** [April 27, 2003, 1:10pm UTC](https://forum.kirupa.com/t/easing-arrow/19381/2 "2003-04-27T13:10:54Z")

</div>

k im new to this… whats Mc mean and i know it aint tha hip hop type…

---

<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:** [April 28, 2003, 5:42am UTC](https://forum.kirupa.com/t/easing-arrow/19381/3 "2003-04-28T05:42:09Z")

</div>

Mc means MovieClip.

---

<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:** [April 28, 2003, 8:25am UTC](https://forum.kirupa.com/t/easing-arrow/19381/4 "2003-04-28T08:25:58Z")

</div>

I’m not sure exactly but it sounds like you have to align everything in that mc so the x-position is 0 (the ‘Align Left Edge’ option within the Align window).  
I think everything is centered within the mc at the moment.

---

<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:** [April 28, 2003, 12:14pm UTC](https://forum.kirupa.com/t/easing-arrow/19381/5 "2003-04-28T12:14:22Z")

</div>

can you post your FLA file please i didn’t get the idea
