Sandbox Violation?

Hi guys,

I have a script implemented that I found in this website. I just copied paste it to my frame, it worked perfectly.

I’m referring to this script


filename = ["vibration.swf", "circular.swf", "random_movement.swf"];
path = "http://www.kirupa.com/developer/actionscript/animation/";
i = filename.length;
k = Math.floor(Math.random()*i);
loadMovie(path+filename[k], movieTarget);

now when I tried to replace all the variables like the FILENAMES and the PATH, below:


filename = ["random01.swf", "random02.swf", "random03.swf", "random04.swf", "random05.swf", "random06.swf", "random07.swf", "random08.swf", "random09.swf", "random10.swf"];
path = "http://www.allanrestaurophotography.com/swf/";
i = filename.length;
k = Math.floor(Math.random()*i);
loadMovie(path+filename[k], movieTarget);

it’s giving me this error that I have no idea how to solve:

*** Security Sandbox Violation ***
SecurityDomain ‘http://www.allanrestaurophotography.com/swf/random08.swf’ tried to access incompatible context ‘file:///RnDezVous/Library/WebServer/Documents/dejavu/swf/interface.swf’

any idea why is this happening?