hi you all great and helpful people out there. (no I’m not trying to get more answers, I think the people on this forum are awesome!)
For my site I made several external swf’s that are loaded randomly when opening the site. I also want to have a button that reloads a new random swf once you’re on the site. But when it reloads it doesn’t reload into the targetmc and it becomes very large. It looks as i f it reloads in the upperleft corner of the _root and is at least 400% of the original. I read something about pictures not in the right size in the tutorial on how to create a photograllery here on Kirupas but my mcholder(empty mc) can’t be anything but 100%, I never changed it. Anyone has a solution? or a pointer to a tutorial?
this is the code for loading the swf
filename = ["mc1.swf", "mc2.swf"];
i = filename.length;
k = Math.floor(Math.random()*i);
myInterval = setInterval(delay,1500);
function delay() {
loadMovie(filename[k], _root.the_mc);
clearInterval(myInterval);
}
and this is for reloading.
_root.platta.onRelease = function() {
loadMovie(filename[k], _root.the.mc);
};