Simple question about the xml photogallery preloader

Hi guys i am just trying to change the preloader bar because it seems not to show the loading at all, i am working with big pics and the bar just stays like that in the middle of the page and doesn’t show progress, do i have to change the code?
I am just trying to do an hairline bar that goes from left to righ across the whole page(800px).
It’s maybe something very simple but i can’t get it.
Thanks a lot for your help
Massimo
Here’s the code for the preloader in the xml PG:
function preloadPic() {
clearInterval(id);
var con = picture.duplicateMovieClip(“con”+k, 9984+k);
con.loadMovie(image[p]);
preloader._visible = 1;
preloader.swapDepths(con.getDepth()+3);
con._alpha = 0;
var temp = _root.createEmptyMovieClip(“temp”+k, 99+k);
k++;
temp.onEnterFrame = function() {
var total = con.getBytesTotal();
var loaded = con.getBytesLoaded();
percent = Math.round(loaded/total100);
preloader.preload_bar._xscale = percent;
if (con._width) {
preloader._visible = 0;
con.onEnterFrame = fadeIn;
if (slide) {
id = setInterval(nextImage, 5000);
}
delete this.onEnterFrame;
}
};
}