Random load no repeat

i am using this

filename = new Array(“1_e.swf”,
“2_e.swf”, “3_e.swf”, “4_e.swf”, “5_e.swf”, “6_e.swf”, “7_e.swf”, “8_e.swf”,
“9_e.swf”, “10_e.swf”, “11_e.swf”, “12_e.swf”, “13_e.swf”, “14_e.swf”,
“15_e.swf”, “16_e.swf”, “17_e.swf”, “18_e.swf”);
i =
filename.length;
k = Math.floor(Math.random() * i);
loadMovie(filename[k], qtext);

i need it to not ever repeat loading one of the movies.

i beleave it can be done by getting the
current movie from the array and then removing it from the array? but i can not figure out
how to do this :h:

thanks