I made a preloader with the help of the tutorial on Kirupa. But i changed some things.
I set the registration point of the bar to the up part. And i want the bar’s size not to get longer but smaller. So the preloader gets smaller each frame to the up. I hope you understood it. This is the actions. How should i change it?

bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBar._width = getPercent100;
this.loadText = Math.round(getPercent
if (bytes_loaded == bytes_total) {