Hello reader, I have a small problem with repositioning dynamicly attached mc’s
In my flash I attachMovie 50 times and place them randomly…this works perfect, but now I want to move their position with the click of a button
for (i=0; i<aantal; i++) {
//nieuwe random positie maken voor de edelstenen
x2 = Math.floor(Math.random()*(500-50+1))+50;
y2 = Math.floor(Math.random()*(500-50+1))+50;
with ("edelsteen"+i) {
this._x = x2;
this._y = y2;
}
}
this somehow works…but with only one mc…I want them ALL to repositioning.