0 Replies Latest reply on Jul 12, 2007 3:46 PM by squasha

    Random video start point on reload

    squasha
      I am a newbie at actionscript so I am looking for some help. I am trying to create the effect of a "live webcam" by taking an FLV, looping it, and having it start in a random location every time the page is visited or refreshed. I understand the concept - when the page is loaded, generate a random number, and then use that number to tell flash what second to start the video. But I don't know the code to do it.

      Another way I was thinking was to make a bunch of cue points in the FLV, and have flash randomly select one and start playing every time the page is loaded. But again, not sure of the code to do it. Can anyone provide a little help?

      Many thanks,

      Sasha