Draggable playhead with progress bar

Hello Friends,
I make an tutorial in flash. My main swf file has about 2000 frames. I want to make a progress bar with playhead that when we drag it, the swf file will adjust appropriate position, similar to the progress bar in comman media players.