Replacing image preloader with simple text info in Photo Gallery Using XML and Flash

Using the “[color=Red]Photo Gallery Using XML and Flash[/color]” from the site, basicly ALL i want to do is replace the graphical preloader with just a dynamic text boxes that just has “file size loaded, file size remaining, percent loaded” [itd be done as three seperate dynamic text boxes using the values

[color=DarkSlateBlue]totalBytes = this.getBytesTotal();
loadedBytes = this.getBytesLoaded();
remainingBytes = totalBytes - loadedBytes
percentDone = int((loadedBytes/totalBytes)*100);[/color]

or something of the sort [this is all theory/whatever till i try to get it working haha!]

I guess the way to do it would be to replace the preloader with a dynamic text field(s) or something and then change the code

[color=Navy]if (loaded != filesize) {
preloader.preload_bar._xscale = 100*loaded/filesize;
} else {
preloader._visible = false; [/color]

to something like
[color=Indigo]
if (loaded != filesize) {
BLA BLA BLA WHATEVER WHATEVER
} else {
preloader._visible = false;[/color]

Any help or pointers muchly appreciated!! Ill work on it and post any results up here too!

Regards, Alex, from Perth, in the land “down under” ha ha!