Cannot create an Array for Transform Matrix

Hi ladies & gents,

i would like to use for different mc´s different transform matrix.

but i cannot create the array.

in this example i use at first the same matrix for all, but i got an syntax error (trans*: Transform … ) which i cannot handle it.

could you please help me!?


var trans:Array = new Array();

for(i=1; i<=anzahl; i++) {

createEmptyMovieClip(i+"_mc");
...
var myMatrix:Matrix = new Matrix(1,-0.1,0,1,0,0);
myMatrix.translate(imgX*, imgY*);
trans*:Transform = new Transform(eval(i+"_mc"));
trans*.matrix = myMatrix;

}

what´s wrong with my code?

thx

ps: please exuse my poor english…