Slider question

i want to have a slider on my main timeline that controls the timeline of a movieclip.

for instance…the movieclip has 10 key frames. As you move the slider to the right i want i want the playhead to advance until it reaches frame 10.

does this make sense? any ideas on how to do this?