Problems with preloader

Hello all:

I am using the preloader from kirupa.com (percentage preloader with loadbar). Scripting (first keyframe) is very straight forward, but my loader is only displaying after about 80% of the flash is loaded. I am not having this problem everywhere. Any suggestions what may be causing it? If so, please email me at [email protected] (www.dicstudios.ca).

bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBar._width = getPercent100;
this.loadText = Math.round(getPercent
100)+"%";
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(3);
}

I thought the aim of a forum was to SHARE problems AND solutions? Why wouldn’t you want to share that with the rest of us?..

[edit] attachMovies anywhere? [/edit]

search the forums and you’ll find the answer :slight_smile:

Hello again:

By request of my customer, I have not attached any files. I simply thought someone on this forum would have some ideas as to why the preloader will only display after loading about 70% of the movie clip.

Thanks …

Oh we do, but trust me dude, search the forums. There are millions of threads regarding this very common preloading problem. :slight_smile:

edit: see :slight_smile:
http://www.kirupaforum.com/forums/search.php?searchid=69007

its so true

Hey there:

So, I checked the forums, and you are right. There is a lot of mention of this problem with MX. I checked all of the linkage in this file, and made sure nothing was exporting to frame 1. Still the file loads to about 70% then the pre-loader shows up. The file is located at “http://www.dicstudios.ca/fla/file.fla” and I would sure appreciate it if someone could take a look and get back to me.

Source File Link

Thanks again …

Kevin,

I have that problem with my preloaders all the time… I’ve never really solved it either.