Pre loader doesn't work!

Hi,

I am trying to get the pre loader that you have on this site to work on mine. The problem is that the pre loader works with the animation, but it doesn’t load my site once it has loaded.

Does anyone know what I should do?

onClipEvent (enterFrame) {
var bytes = _root.getBytesTotal();
var bytes_loaded = _root.getBytesLoaded();
if (bytes_loaded == bytes) {
_root.gotoAndPlay(2);
this.kirupatxt = “movie loaded”;
} else {
_root.gotoAndStop(1);
this.kirupatxt = “loading (”+bytes_loaded+"/"+bytes+")";
}
}

(this is the code for the pre loader)

I don’t think this is in the right location. Mods?

Yeah, this doesn’t belong here… and what do you mean by: “but it doesn’t load my site once it has loaded.”

It could be that your site’s too small therefore you don’t notice the preloader. :ne:

moved… :sure: