This content has been marked as final. Show 4 replies
This should work. Check the Flash help for description of the loader, Math.random() etc.
the shuffle() method for arrays is to be used when you don't want repeats. otherwise, the simple code given by eric is sufficient.
thats great thanks, i'll experiment with it
i need to be more particular about the array qualities as
i intend to use the final code 6 times with variations
across 6 TV channels / Cells.
In other words, in
cell 1 = movie channel
play random but dont repeat 1.swf - 99.swf
cell 2 = sports channel
play random but dont repeat 100.swf - 199.swf
i already have a radomiser to land on any one of the 6 channels.
The objective is that with these 6 new shuffle arrays
(each shuffle array defining the .swf parameters for that channel...
ie 1.swf - 99.swf)
are combined with the existing channel randomiser viewers will be
able to land randomly across 600 shows.
you can see a working example of the channel randomiser at www.bulletprooftv.com
check this forum for the array.shuffle() method if you need it.