Switching between 5 videos at random

OK, so I'm working on this patch where i want 4 videos played in random sequence one after the other. Each time the patch is opened the sequence should be different, once one video ends it should trigger the next to be played with no repeats. So far i have the [urn] object set up to choose between random numbers and I have that connected to the [umenu] object. However I can't figure out how to load my videos into [umenu] can anyone help?

below is a screenshot of my batch so far any suggestions at all are welcome.

[attachment=129700,363]

Attachments:

send a 'path' message to 'thispatcher' to populate the umenu with your movies. I've attached an example which will read a folder called movies, if the folder is in the same location as your patch. nb, you will have to change this if you want to make a standalone.

[attachment=129708,364]

Attachments:

Still having trouble loading movies into [umenu] i've put them into the menu items but I can't get the actual movies to play in the quicktime window. Here is a screen shot of my patch. my movies in the same folder as my patch which is entitled "movies". the [urn] object seems to be working well enough in switching the videos but I can't get them to actually play the videos.

ok, so i’ve got this to do just about everything i want it to except actually play my movies. i have a list of movies in the menu items information part of [umenu] my movies are located in a documents folder entitled movies. It is cycling through the movies at random each time a bang is sent until all movies are played but i won’t actually play the movies in the viewer.