dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: random multiple clips

  1. #1
    Registered User
    Join Date
    May 2009
    Posts
    1

    random multiple clips

    hi everybody,

    I designed a site for a friend with a feature i don't really know what way to do this best. this is it:



    Now i want the 6 stills on the right (with the girl in the car) to be different movie clips lasting about about 12 seconds then freezing frame for a while and then start over.
    What i would really like is that the order in wich they play would be random and that 2 or 3 clips would play simultaneous.

    Don't know if this is even possible so i would appericiate any tips.

    Thnx,
    Sander

  2. #2
    Senior Member
    Join Date
    Apr 2008
    Location
    Nottingham, UK
    Posts
    348
    i would search for math.random() in order to get your random number... you may also like to consider adding your videos to an array and using the randomly generated number as an index for the array.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center