# Scrolling buttons inside a movieclip

**URL:** https://forum.kirupa.com/t/scrolling-buttons-inside-a-movieclip/188089
**Category:** flash
**Created:** [May 4, 2006, 1:35pm UTC](https://forum.kirupa.com/t/scrolling-buttons-inside-a-movieclip/188089 "2006-05-04T13:35:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![george2409](https://avatars.discourse-cdn.com/v4/letter/g/f9ae1b/32.png) [@george2409](https://forum.kirupa.com/u/george2409)
#### Post date: [May 4, 2006, 1:35pm UTC](https://forum.kirupa.com/t/scrolling-buttons-inside-a-movieclip/188089/1 "2006-05-04T13:35:29Z")

</div>

Hello again!!

I had a small problem with scrolling buttons. They are scrolling to the left so as the user scrolls they move etc etc.

However I have this inside a movie clip and i cant get it working at all, I think its because its inside a movie clip not the main timeline so I have to add more code.

Any advice, here is the code I am using.

Thanks

\_root.onEnterFrame = function () {  
this\_aboutbtn\_mc.\_x = (-5.5/416 \* \_root.\_xmouse)+10.0  
}

George
