Button menu scrolling bar CS2 flash

Am brand new to flash action scripting. Have spent 2 days trying to copy, redo and understand the code for making a simple scroll menu work at the bottom of my page which is 1024 pixls wide. the movieclip containing the buttons is around 2048 pxls wide and I need the mouse over action from the enduser to make the scroll bar follow from left to right.

At the moment the scrolling only goes so far and when the clip loads is scroll to the left a bit before it stops. Am not interested in continuous scrolling when the mouse is out of the movie clip area. Here is the code I have been randonly changing to visually get something closer to what I want.

Would really appreciate any help on this:)