Add sprite in a Loop?

Hi there folks,

how can i add sprites in a for loop?

example:

var my_shape:Sprite = new Sprite();

for (var i:Number =0; i<total;i++){
addchild(this[“my_shape”]+i);
}

so after that i can access that shape like: my_shape2.visible = false;

thanks!