var dotN:String = "dot"+i+"_"+j; this.attachMovie("dot", dotN, k, initDot); this[dotN]._x = i; this[dotN]._y = j; k++;