Skip to main content
Known Participant
April 16, 2007
Question

Preloader not working properly - doesn't show right away

  • April 16, 2007
  • 2 replies
  • 449 views
I'm having issues with using an external preloader and I need some help.

I have one variable set to the movieClipLoader class and it is used to load external swf files into an empty movie clip on the stage.

I'm also using an external preloader that is loaded using a different variable set to the movieClipLoader class. The preloader loads into a different empty movie clip than the other external swf files. An FYI, the preloader swf file is small - 15kb

I have a listener attached to the onLoadStart event which, when triggered, loads the external preloader using the loadClip method.

Now, when I test the movie (Ctrl + Enter) and am taken into the swf player, I go to the View menu and choose Simulate Download.

The problem is that there is a long delay in the preloader showing up on the stage. For example, I'll put the Download Settings at 56k and then I'll choose the Simulate Download option. From there, I'll click on a button to load in one of the movies and, based on the code I've written, the preloader should show up immediately. But it doesn't... there is always approximately a 7 second delay before the preloader can even be seen. The preloader file is small so there's no reason that I can fathom as to why it's taking 7 seconds to load onto the stage.

Otherwise, everything works great. The movies being monitored/loaded come in just fine. The preloader's progress bar works fine and accurate bytes loaded and bytes total are reported in the dynamic text boxes that are inside the preloader swf file.

It's just the strange delay that's driving me insane.

I've been doing searches on the internet for about 2 hours and it seems there are others having this sort of issue, but so far no solutions to be found.

FYI, I'm using Flash 8 Professional.

I appreciate any help!!

Brenda
This topic has been closed for replies.

2 replies

michaeltowse-D9Wc11
Inspiring
April 17, 2007
I know I had a similar problem with a preloader a while back. I was using a comprehensive suite of components throughout my flash piece and all of these where set to 'export on first frame'. This unfortunetly meant that the initial first frame size was considerable.

Maybe thats an avenue worth looking into?

Known Participant
April 16, 2007
Maybe try a new preloader?

Heres one I use quiet oftern. It's not a smooth preloader but it is good :)

_B_Author
Known Participant
April 16, 2007
Thanks realworks... using attachMovie rather than loadClip will perhaps fix the problem of the delay with the preloader showing.

I would however like to see if there's something in my code that's keeping it from working properly. So I've attached my code and perhaps someone can take a look at it and see if it's something I'm doing wrong.