Problem with Tween/AS Preloader

Hello. I have been working on this:

http://www.kirupa.com/developer/actionscript/tween_as_preloader.htm

Everything is Ok, but I need the text (percent loaded) not to go from left to right, but from the bottom to top, because my preloader loads the movie content in that direction.

I´ve been trying to achieve this by modifying the “x” values in this script:


//setting up variables to display
//percentage loaded in the text box.
loaded_bytes = Math.round(_root.getBytesLoaded());
loaded_total = Math.round(_root.getBytesTotal());
total_percent = (loaded_bytes/loaded_total)*100;
_root.loaded_text = Math.round(total_percent);
//We apply the code to make the text change its 
//X position according to the position of progress
//bar.
startpoint = bar._x
_root.text._x = startpoint + (_root.bar._currentframe*2.5);

But I cannot get it…could you help me please?

Thanx!

E.