// build an array with 12 times the values 1-8
var arrVal:Array = new Array()
for (i = 1; i <= 8; i++) {
for (j = 0; j < 12; j++) {
arrVal.push( i)
}
}
// sort the array in random order, no repetition
arrRnd = randomSort(arrVal) // use the function given in the previous post
/**
randomSort, no repetition
*/
function randomSort(itms) {
var oItem:Object = new Object()
var lastPos:Number = itms.length
- Widged Wiki |
- Widgets g. |
- MurgaLua g. |
- HaXe g. |
- Flex g. |
- Rev g. |
- Coding News |
- brought to you by Widged.com |








![Creative Commons Attribution License [Creative Commons Attribution License]](http://creativecommons.org/images/public/somerights20.gif)