I have 9 movie clips which I want to load in random order, so that viewers who come to the webpage don't always see the same thing. I have them set up as 9 frames within another mc.
I'm no Actionscript expert (far from it) but I found a script on one of these forums (it's from a very old thread though) that does just what I need EXCEPT it always displays the first one first, and then the rest in random order. I tried making the first frame empty, but then there was a big lag before it showed anything, because of the timer. Any suggestions, or perhaps a different way altogether? Here's the script I used:


myMc.stop();
time = getTimer();
wait = 500;//1000ms = 1 second
_root.onEnterFrame = function(){
if (getTimer() > time+2000){
myMc.gotoAndStop(random(myMc._framesloaded)+1);
time = getTimer();
}
}


I'm using Flash CS4 but Actionscript 2. Thanks!