I´m quite familiar with as programming but
…
You can take this preloader tut:
and just use the bar idea out of it. Have a bar with the registration point on the side it will collapse to, then whatever you’re counting down, apply that value to the bar’s _width property.