Prova così:

rand = Math.round(Math.random()*4);
external.loadMovie(folder + "/" + rand+".swf");