I'm having issues with using an external preloader and I need
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
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
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.
Thanks realworks... using attachMovie rather than loadClip
will perhaps fix the problem of the delay with the preloader
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.
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