Actionscript timeline effect

Hey everyone,

I’m working on a project that requires an animated “timeline” bar that increases in width as the movie progresses. Very much like a simple pre loader bar, I want to use AS to:

  1. Increase the width of the bar as the movie progresses
  2. Determine the length of the entire movie and Sync the horizontal movement of the to it.

Can anyone suggest how I could go about doing this?

thanks alot!