ok, I’m building an application and stuck in a Mathematical situation.
I create a grid with the following actionscript :
gridx = 65;
gridy = 65;
num = 0;
for (var i = 0; i<5; i++) {
for (var j = 0; j<this.count; j++) {
rec.duplicateMovieClip([color=#0000ff]“rec”[/color]+num, num);
mc = this[[color=#0000ff]“rec”[/color]+num];
mc._x = gridxi;
mc._y = gridyj;
num++;
}
}
rec._visible = 0;
…where “count” is a record count I fetch from an SQL query
Now, what i want, is to duplicate the “rec” movieclip at x axis (5 times)
and then continue at y axis (65 pixels below) duplicating till i reach the record count number.
Thank you in advance.
John