Random SWF tut

I tried messing with the random swf tutorial but could not get it to work correctly.
All I want to do is play a random swf on my site (1 of possible 4) Could someone shed a little more light on it? As it is now, I have ad1.swf, ad2.swf, etc.