Help with slider

Hello, i am in need of some help.:expressionless: I need a slider to control two things, one being a mc that has about 30 frames moving foward and backward depending on where the slider is on the track, and the other being a image that slides left to right depending on where the slider is on the track. To view a diagram of what i’m looking for, go here…
http://www.designelement10.com/help/sliderdiagram.jpg
I do not have the best actionscrpiting abilities, so a basic set up example would be wonderful. Thank you much in advance o powerful Kirupa Community.

::Jason