PDA

View Full Version : preloader with %



rymored
January 26th, 2003, 03:53 PM
I have read you preloader with % thing. But i have a problem.

I put the preloader in frames 1-3, and my stuff in frame 3->. But the preloader does not apear until the movie is done loading.

Does the preloader have to be on a separat Scene or something?

Jubba
January 26th, 2003, 04:05 PM
No. If you are exporting things for actionscript like music or movieclips or graphics they will load before your preloader.

rymored
January 26th, 2003, 04:10 PM
Is there anyway to go around?

I hava a huge picture in the background. Is there anyway i can start the preloader before this picture loads?

Jubba
January 26th, 2003, 04:13 PM
There is no way around it as far as I can tell. Many people have had the same problem and there hasn't been a solution found yet.

rymored
January 26th, 2003, 04:13 PM
Okey, thanks! .)

rymored
January 27th, 2003, 03:03 PM
I got an idea! ;)

How about if i use two *.swf files? I have one file where the preloader is. Here i use the loadMovie function. Then, when the preloader is done, the whole movie will be loaded?

If this is one way to do things i need a little helt setting up the loadmovie thing.

If wrote this down. Is this something i can use?:

loadMovie("Flash.swf", "_root.OtherFile");
if (_root.OtherFile.getBytesLoaded() == _root.OtherFile.getBytesTotal()) {
_root.OtherFile.play();
}