PDA

View Full Version : swfs stuck in reloading loop


face
06-03-2005, 03:27 PM
i was wondering if anyone had encountered this before.

I am designing a site which has a main swf embedded into an html page. this then loads (via the moviecliploader) a loader.swf which then loads external movie clips for various sections (just an intro and news for the time being) into itself. the content movies (intro and news) display xml which is loaded at runtime to display the latest information.

the problem i have is that the main movie keeps reloading itself as soon as it get s to the point where it should be loading a new swf into the content area. this doesnt happen on my test machine or when run as an swf in IE. it also doesnt happen in mozilla (when embedded into the html).

Is there some sort of issue with embedding swfs which load other swfs into html pages and then running them in IE?

any help would be greatly appreciated as it is quite frustrating and i cant find a solution myself (other than using only mozilla, which isnt really an option).

cheers

badlorry
06-06-2005, 03:23 PM
What you are doing is not particularly unusual in terms of Flash application architecture, and I have never run into insurmountable problems with this before. It
sounds like you may have not taken into account real-world loading times.

By this I mean that on your test machine, everything will load very quickly, and hence you will not notice any problems caused by slow download times. On a real live setup, you can experience delays in the download process of SWFs and their playback. This can lead to problems relating to not properly loading files before you run them (leading to running functions that don't yet exist, or playing a movieclip that is not there).

There could also be a path problem, where you are using an incorrect absolute or relative path in one of your SWF files to load up the other files.