Hello,
How can i generate dynamically this array.
var posX:Array = [0,-20,20,-40,0,40,-60,-20,20,60,-80,-40,0,40,80,-100,-60,-20,20,60,100]
The numbers in the array refer to the x position of the object. I use it to place objects in triangular formation.
0
-20 20
-40 0 40
-60 -20 20 60 etc
Thank you in advance