Re: [Flashcoders] Re: Re: Producing a random list with no repeats

2010-05-10 Thread Henrik Andersson
Alan Neilsen wrote: Thanks to all the suggestions re my random list problem. Particular thanks to Gerry Beauregard for this suggestion: It's probably best just to create an Array or Vector containing numbers 1 to 40. (Vectors are only available in AS3, not sure about Array). Shuffle the

[Flashcoders] Re: Re: Producing a random list with no repeats

2010-05-09 Thread Alan Neilsen
Thanks to all the suggestions re my random list problem. Particular thanks to Gerry Beauregard for this suggestion: It's probably best just to create an Array or Vector containing numbers 1 to 40. (Vectors are only available in AS3, not sure about Array). Shuffle the array, then choose the