ahhhhh, ehem
ok, the way this code can be used with is to be attached to the instances (the ball movie clip), so u don't need to give each ball a name as u r not going to call it from other place
but all u need is to set a different target X or Y position for each one
so, in the onClipEvent(load), u give a different name and value for the targX, like
ActionScript Code:
onClipEvent(load){ //for the first ball
_root.targ[b]1[/b]X = 50;
}
onClipEvent(load){ //for the second ball
_root.targ[b]2[/b]X = 60;
}
//and so on
and also to change that on the buttons