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?

make a slider image in photoshop.
make its slices.
for a slider like
<----|----->
you will need images like

<-, -, -|-, ->

place slider images onto the stage. and convert all into movieclips.

use the “-” image as a background.

in the -|- image, put the on mouseover code which allows it to be dragged. like
this.startdrag();

in the mouseMove :

  1. remember to keep the -|- image within the bounds of the slider.
  2. when the _y becomes “<-”._y + (say 5) gotoAndPlay(3);

if i am too vague, tell me.