Pre loader doesn't work!


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) {
this.kirupatxt = “movie loaded”;
} else {
this.kirupatxt = “loading (”+bytes_loaded+"/"+bytes+")";

(this is the code for the pre loader)