Hi!
Could someone show me wath to change in this code?
I want different verison, one thats count from 10-19, 19-20 and so on…
Where do i change in the code?
checkDup = function () {
for (j=0; j<i; j++) {
if (myArr* == myArr[j]) {
trace(“dup= a) myArr”+i+" = “+myArr*);
trace(“b) myArr”+j+” = "+myArr[j]);
trace(“so recalculate!”);
numPick();
}
}
};
numPick = function () {
newNum = (Math.ceil(Math.random()*91));
myArr* = newNum;
checkDup();
};
bingoShuffle = function () {
nbNum = 40;
myArr = new Array();
for (i=0; i<nbNum; i++) {
numPick();
this[“b”+i].text = myArr*;
}
};
bingoShuffle();
//trace(myArr);
for (i=0; i<nbNum; i++) {
this[“b”+i].text = myArr*;
//or _root[“nb”+i].text = myArr*;
//or _root.myMc[“nb”+i].text = myArr*;
}