Pal3rm02k
03-27-2003, 10:15 AM
So i have this code but it makes 110 clips and i want just 100.I don't know why!
for (i=0; i<10; i++) {
n++;
for (j=0; j<10; j++) {
n++;
duplicateMovieClip ("clip", "clip"+n, n);
setProperty ("clip"+n, _x, j*50);
setProperty ("clip"+n, _y, i*50);
tellTarget ("clip"+n) {
gotoAndStop (1);
pozx = i;
pozy = j;
}
}
}
And another problem!!Every clip has 2 input type textfields pozx and pozy but when i test the movie, just the first clip has pozx and pozy modified, the rest were not modified!!!!
Cheers!!
for (i=0; i<10; i++) {
n++;
for (j=0; j<10; j++) {
n++;
duplicateMovieClip ("clip", "clip"+n, n);
setProperty ("clip"+n, _x, j*50);
setProperty ("clip"+n, _y, i*50);
tellTarget ("clip"+n) {
gotoAndStop (1);
pozx = i;
pozy = j;
}
}
}
And another problem!!Every clip has 2 input type textfields pozx and pozy but when i test the movie, just the first clip has pozx and pozy modified, the rest were not modified!!!!
Cheers!!