Array access notation in AS3

how to make something like this work

var i:uint;
for(i=0;i>3;i++){
     var test*:Sprite = new Sprite();
     test*.graphics.beginFill (0xff000000);
     test*.graphics.drawRoundRect (0, 0, 50, 50, 0, 0);
     test*.graphics.endFill ();
     addChild(test*);
     test*.y = 55 * i;
};
1086: Syntax error: expecting semicolon before leftbracket.
var test*:Sprite = new Sprite();