I read a tutorial on preloaders which gave me this actionscript text.

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) {

It worked however, instead of having the bar color load from left to right, I wish to have it from bottom to top. Do I change the “width” word to “height” and then make the registration point the bottom center?

Thank you