Skip to main content
Participant
January 28, 2010
Answered

AS2 Preloader Problem

  • January 28, 2010
  • 2 replies
  • 2491 views

I have just completed my first large flash project and I have been trying to figure out why this preloader starts at 85% for the longest time but I can't seem to.  I have changed the export classes frame to 5 and tried about everything else I have come across, but still no dice.  Could someone please have a look at the source file and tell me if you see what is wrong. The file is too big to attach here so but I put it on my site.

http://www.customxbats.com/downloads/baseballBuilderSM.fla

Thanks,

Paul

This topic has been closed for replies.
Correct answer Harry Kunz

Hi Paul.

The reason for that is that the flash player attempts to load most of the SWF content before it is even able to go to frame one (where we usually place our code for preloading). In order to have an efficient preloader, you need to separate the main SWF file from the preloader SWF. And remember to make the preloader SWF file as small as possible (1KB - 5KB is good) so that it will appear immediately. I've made a preloader that is 1.35KB in size, you can try use it, just change the loadurl path in frame 1 (currently set to "External.swf") to the name of your main SWF file.

2 replies

Participant
February 2, 2010

Thanks Harry that worked great.  I guess I will just stick with external preloaders.

Message was edited by: pstone2222

Inspiring
February 3, 2010

Your welcome.

Harry KunzCorrect answer
Inspiring
January 29, 2010

Hi Paul.

The reason for that is that the flash player attempts to load most of the SWF content before it is even able to go to frame one (where we usually place our code for preloading). In order to have an efficient preloader, you need to separate the main SWF file from the preloader SWF. And remember to make the preloader SWF file as small as possible (1KB - 5KB is good) so that it will appear immediately. I've made a preloader that is 1.35KB in size, you can try use it, just change the loadurl path in frame 1 (currently set to "External.swf") to the name of your main SWF file.