Código:
// COMO ES POSIBLE QUE EL EL TRACE DEVUELVA 2
function colocar():Void {
for (i = 0; i <= 1; i++) {
this["mcBola" + i].onPress = arrastrar;
this["mcBola" + i].onRelease = soltar;
}
}
function arrastrar():Void {
this.startDrag();
}
function soltar():Void {
this.stopDrag();
trace(i);
//2
}
colocar();

