I have a simple .swf file that plays 5 videos in one playback component. I was wondering if I can get the .swf onLoad to pick randomly one of the 5 videos to start playing and have it pick a different video each time. So that way each time someone loads the page they see a different video playing. Any help would be awesome!

gnomeontherun

05-13-2009, 09:28 AM

Do you have any code now? It would just be picking a random value or randomly sorting the array of videos.

Christina Knapp

05-14-2009, 01:38 PM

The code I have on there now is just for the buttons that bring up the video. If you want to take a look at the flash itself you can go to: http://tbtheagency.com/christina/arrow -- On the .swf right now I don't have the videos set to automatically play.

I haven't tried to figure out anything on getting the videos to randomly play, honestly not sure where to begin on that and I couldn't look up anything on the web to help out cause I am not sure what I'm looking for.