I created a preloader for our website, http://www.digitalzone1.com, but for some reason it only shows after it's loaded 75%. I can't really figure out why this is, other than the fact that I've never had much luck with preloaders.
If anyone could make a suggestion, I'd really appreciate it. The site is up for an award come September, and I want it in the best shape possible for when the voting starts in August. ^^ That, and I can't stand that it doesn't work right.
Here's the ActionScript I'm using:
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBar._width = getPercent*100;
this.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(3);
}
Thank you!
