I’ve read through quite a few threads on the Load Random Movie script but none seemed to have the problem that I’m experiencing on Mozilla.
I have 3 external .swf being loaded randomly by the “load_randomMX.swf” that Kirupa so generously posted on this site. Thanks mate!
On IE all three swfs are randomly displayed but on Firefox Mozilla the 3rd swf just doesn’t come up and there seems to be preferrential choice to the 1st swf.
As a newbie attempt to rectify matters I tried including the 3rd swf a second time within the swf line up but it didn’t make a difference.
Here is the script:
filename = [“top_banner_value01.swf”, “top_banner_value03.swf”, “top_banner_value02.swf”, “top_banner_value03.swf”];
path = “http://www.spotonsystems.com/xdev/Flash/”;
i = filename.length;
k = Math.floor(Math.random()*i);
loadMovie(path+filename[k], movieTarget);
Here is the link to the site so you can see for yourselves:
http://www.spotonsystems.com/xdev/
Thanks in advance for any help that you can offer!
Hanek