For (a=1;a<=10;a++) ..not working?

Hey,

I made this little script so it will scale a movieclip called ‘circle’ with a timer.

Now I wanted to make 2 circles because I was feeling gutsy.

However, the script doesn’t work anymore.

And yes, I have named the instance names ’ circle1’ ’ circle2’ etc.

Please …assist in making this little script work?

//number variable
i = 0;
//time to duplicate
time = 0;

//the basic value of the item (circle)
value_width = 30;
value_height = 30;

this.onEnterFrame = function() {
	for (a=1;a<=10;a++){
	//set width, height and alpha, speed is determant with /30
	["circle"+a]_width -= (["circle"+a]._width-value_width)/30;
	["circle"+a]_height -= (["circle"+a]._height-value_height)/30;
	["circle"+a]_alpha -= (["circle"+a]._alpha-value_alpha)/30;
	
	if (time>0) {
	//if it is, take 1 away from time
	time--;
	//if it isn't
} else {
	//set enlargement
	if (value_width == 30) {
		value_width = 300;
		value_height = 300;
		value_alpha = 0;

	} else {
	//set original(?) size
		value_width = 30;
		value_height = 30;
		value_alpha = 100;
	}
	//add 1 to i
	i++;
	//set timer
	time= 100;
}
	}
};

EDIT:

Also, I solved the problem by simply adding the whole thing…

//set width, height and alpha, speed is determant with /30
	circle._width -= (circle._width-value_width)/30;
	circle._height -= (circle._height-value_height)/30;
	circle._alpha -= (circle._alpha-value_alpha)/30;
	circle2._width -= (circle2._width-value_width)/30;
	circle2._height -= (circle2._height-value_height)/30;
	circle2._alpha -= (circle2._alpha-value_alpha)/30;

…But I’m sure there is a cleaner solution.