Toggle to control movie

HI there
I was wondering if anyone can point me to a tutorial or provide help in order to create a toggle that controls the timeline of the movie.

So, say for example, I have a fla with 100 frames, I want the user to be able to control going from frame 1 to frame 100 by dragging a toggle left to right…

Let me know if you need any clarification.

Thank you!