all groups > flash actionscript > september 2004 >
You're in the

flash actionscript

group:

Preloader Question


Preloader Question dl33
9/18/2004 6:31:19 PM
flash actionscript:
Hi,

When i open my .swf file on the web, I first get a white screen, because the
whole stuff is loading. I tried making a progress bar, but I either didn't get
it or it really doesn't work. By nwo I must have flooded several forums with my
threads and found an infinite number of tutorials on the web. Still ???????
At some point I started using two files. One with the actual movie, another
one with the preloader. At the moment the preloader does not redirect me. Can
someone tell me whats wrong with the script.

The script in the first frame of the preloader movie is down under (the
message).

Thanks anyway....



if (_root.loaded) {
myMovie = "Lichtobjekte.swf";
if (myMovie.loaded) {
if (this == Number(this)) {
loadMovieNum(myMovie, this);
} else {
this.loadMovie(myMovie);
}
} else {
Loaded = myMovie.getBytesLoaded();
Total = myMovie.getBytesTotal();
percent = Math.ceil((Loaded / Total) *100);
}
}
Re: Preloader Question albee
9/18/2004 6:57:01 PM
I have tried a different approach that serves the purpose. Please look at the
following link:

http://www.cristancho.net/flash/preloader

If this looks like what you need, you can download the source file from:

http://www.cristancho.net/flash/source/preloader/preloader.zip

It works in Flash MX or later. Good luck...
AddThis Social Bookmark Button