title: Play a random flv from a total of 5 flvs
body: <p>I need your help with Actionscipt3.0. To be honest I am reall noob in flash. I am more a 3D Designer so not a lot of flash ;)
  Currently I have to create a website where some videos should be played automatically. </p>
  
  <p>When a User opens the URL and lands on the page, a random video of a total of 5 should be played. When the video is finished, it should chose another video of the total of 5 videos.</p>
  
  <p>So an example: It should chose one video of 5 videos. Play it, then it should chose 1 video of 4 videos, then it should chose 1 video of 3 videos..and so on. And after all 5 are played, it should repeat the process.</p>
  
  <p>I hope someone here can help me with that...What i have sofar is this..</p>
  
  <blockquote>
    <p>var files:Array = [ "Sz01Puppet.flv", "Sz02Puppet.flv",
    "Sz03Puppet.flv", "Sz04Puppet.flv", "Sz05Puppet.flv" ]; var
    randomFiles:Array = [];</p>
    
    <p>var i:int; for (i=0; i
        randomFiles.push(files[Math.floor(Math.random() * files.length)]);
    }</p>
    
    <p>trace(randomFiles);</p>
  </blockquote>
  
  <p>But its not working in any way..</p>
  
  <p>Would be great if someone could help me out</p>