Smooth loading bar never finishes!

Hi guys! I’m using the

current = (target-current)/speed

method to animate a smooth loading bar. It looks fine, except that it never finishes–because the bar is hidden and the onEnterFrame deleted before it finishes animating. Anyone know a way to bias the bar so it looks done on time? Thanks!