try this:-
-----------------------------------------------------------------
var randomNumber // will contain a random number
// pick a random number betweeen 0 & 5, then add 1 cos flash never
// gives highest number cos its zero based i.e. random(6) will randomly
// give 0,1,2,3,4,5 adding 1 will give 1,2,3,4,5,6
randomNumber = random(6) + 1;
// load the movie bannerX.swf into the target movie mytarget_mc or _root
// where X is replaced by randomNumber
_root.loadMovie("banner" + randomNumber + ".swf");
------------------------------------------------------------------
that should do the trick

__________________