Horizontal MC Scroll

Hi, How would I get an MC to scroll a specified distance horizontally so for example I could have an MC 900 px wide but with a 300 px viewing area and a next and previous button and every time you hit next it scrolls 300 px and then knows not to scroll anymore once the MC is at it’s end. Would there be a way to do this so I could have one script that would be able to deal with MCs of any width?