PDA

View Full Version : PreLoader Woes (not with code...maybe)


piratefish
10-21-2005, 02:55 AM
I'm having troubles with a two frame preloader I have. On the first frame I have the standard preloading code (see the Smooth Preloader tutorial) in the main frame. On the second frame I have

_root.gotoAndPlay(1);

So it should theoretically work. When I run it on the net, the preloader doesn't show until it's up to 98%. That seems to defy the purpose of the preloader.

I think it may have to do with the file being so huge (4 MB). If you want to see it yo ucan go to http://piratefish.com/games.html and then go to Rock Paper Scissors.

If anyone has had a similar problem, please advise. Thank in advance.

Xeef
10-21-2005, 03:05 AM
this is usualy caused if you use a lot of components which are exporten in firstframe

http://www.actionscript.org/forums/showthread.php3?t=86938&highlight=export





-----

oldnewbie
10-21-2005, 04:55 AM
Or use this other workaround (much easier than unchecking every linked element in the components...), a seperate preloader only movie to load your present movie cleared of any present preloader...

Especially that HORRIBLE "smooth" preloader... Worst preloading code I've ever seen!

http://odin.prohosting.com/~oldnew/preloader/preload.htm

http://odin.prohosting.com/~oldnew/preloader/preload.zip

piratefish
10-21-2005, 03:10 PM
Hmmm.... (Xeef) Having troubles with stopping it from exporting on the first frame. Followed your instructions on the other post, but to no avail.

(Oldnewbie) Interesting preloader and I'm going to try it out (perhaps make one for all of my movies/games). A few new things, but I think I'll get the hang of it.

Thanks to you both.