Loading random movie

Hi all,

i’m trying to create a loading random movie in my flash website where the flash movie will rendomly loaded. I had gone through the tutorial - Loading Random Movies and i had a small problem relate to the actionscript.

filename = [“circular.swf”, “vibration.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);

My question is, if i develope the page at my local PC. So, how my path should be? as i try subtitute it with the local root

path = “C:_MyTemp\JEO_Test\randomBG.html”;

but it still didn’t work. There is nothing appear when i publish it to the browser.

besides that, an error massage appear when i export it to swf.
( Error opening URL “C:\MyTemp\EO_Test\randomBG.htmlmyMovie.swf”

Thanks in advance.

:pleased: