new Array(); question, sorry!
new Array(); question, sorry!
Out of context: Reply #8
- Started
- Last post
- 9 Responses
- goygoygoy0
actually, I though I solved it. but not. I can't test that if a position already exists, recalculate...
I've it like that:calculatePos = function () {
return 35*Math.round(Math.random()*5);
};
matrice = new Array();
duo = new Object();
for (i=0; i1) {
for (j=0; j<L; j++) {
if (xValue == matrice[j].x) {
trace("oups");
}
}
}... but no