Help needed in AS2

I need to make a file with a slider that show us the frames progress, and also can be controlled by draging.
Like in .avi Files.
thanks.