Random video - Play Code

Hi guys and girls (if there are any on this forum).

Im using Flash 8 and let me just clarify that I am not that good at coding with Actionscript in fact I suck lol. I specialise more in the design aspect when using Flash!
Anyway, basically Ive been able to come up with this piece of coding that allows me to play one of three video’s that Flash randomly selects. This works fine

var video_array = new Array();
video_array[1] = “video1”;
video_array[2] = “video2”;
video_array[3] = “video3”;

var max = video_array.length;

for (var i = 0; i < max; i++) {
var name = video_array*;
this[name]._visible = 0;
this[name].stop();

}

var randomNumber = Math.floor(Math.random() * max);
var randomVideo = video_array[randomNumber];
this[randomVideo]._visible = 1;
this[randomVideo].play();

stop();

However, what Im trying to do now, is depending on what video is selected I want it to read/play a speific piece of coding ive created. For exmaple if the 2nd video is chosen in random I want my wheel to spin, if the 3rd is selected then for the wheel to stay where it is etc etc.

I’m guessing it has to start off with “if…” but thats all about I can come up with.
If anyone can be of any help it would be much appreciated!!!

Thanks guys/girls