I am loading a random swf into an empty movie clip and seem to be having some wierd problems with the blur flyouts.
First here is the working code:
filename = ["splash1.swf", "splash2.swf", "splash3.swf", "splash4.swf"];
path = "/movieloads/";
i = filename.length;
k = Math.floor(Math.random()*i);
holder.x = 200;
holder.y = 200;
Here is the website:
You will see on the left fly-out and the right fly-out where the problem is - occasionally the blurred out image is different than the loaded image.
I am assuming the problem lies in "i = filename.length;"
there's no problem with the code you posted.
there's some other code that's causing the problem. in order to load duplicate swfs for your blur effect you should be reusing k (and not generating a new k). are you reusing k?
I would assume I am generating a new K because it is intended to pull a random swf every refresh.
I'm new to the bluring, I had it working fine when I had 1 swf loaded, but as soon as I went to random that's when the problems started.
you should be using the same k for the blur-effect swf.