I have 3 ball movieclips named Ball1, Ball2, Ball3
I want to store those 2 balls in an array like this
ballArray = new Array([Ball1, Ball2, Ball3]);
Then i want to pick the balls from the array and diplay it on the screen.
for (var i = 0; i<totalballs; ++i)
{
var name = “Ball1”+i;
_root.attachMovie(“Ball1”, name, i);
_root[name]._x = x;
_root[name]._y = y;
}