I am working on a flash video player based on the uber-cool tutorial by Lee. In addition to the load bar, which indicates how much of the FLV has been loaded, I have added a progress bar, which (along with the scrubber), indicates the position of the video.
I am trying to get the progress bar to drag along with the scrubber, and was hoping one of you could help me out. Here is my action script. Thanks in advance! :)
var videoInterval = setInterval(videoStatus,100);
Starting off on a side note, see Lee's note at http://theflashblog.com/?p=5 about modifying the video player code because of problems that may happen from using 2 intervals at the same time.
As for getting your progress bar to move allong with the scrubber bar, all you need to do is add another line into the scrubit function after the seek line to set the progress bar's list, which should be the same as the one in the code in the videoStatus function: