i have a small problem with loading a random swf into a html page. i have a script that works in that it will load one of 4 different swf files into a html page the only drawback is that the hittests within that movie then dont work. anyone have any suggestions, any help would be apreciated.
thanks a lot
the script that im using at the moment is
filename = ["…swf", “…swf”, “…swf”, “…swf”];
//the files that i want to randomly load
path = “http://www.smoking-monkey.net”;
//where the files are
i = filename.length;
k = Math.floor(Math.random()*i);
getURL(path+filename[k], movieTarget);
//all that is on a frame with a movieclip named movieTarget on the stage