1 Reply Latest reply on May 27, 2010 12:49 PM by GordonSmith

    Random Souce F.unction

    djh88ukwb Level 1

      Hello All,

       

      I dont suppose anyone could quickly help me with a small function?

       

      I am using flash builder 4, using the spark VideoPlayer.

       

      I want to be able to create a function that takes a number of source files, and picks a random one for the player to play.

       

      For instance.

       

      Video One

      Video Two

      Video Three

       

       

      THen one the application Complete, i want to call a fuction, that wil pick a random video and play it.

       

      THInk anyone could help me with this ?