Supponendo che i filmati siano 10:

codice:
loadMovieNum("swf" + (random(10) + 1) + ".swf", 2);