# Cannot create an Array for Transform Matrix

**URL:** <https://forum.kirupa.com/t/cannot-create-an-array-for-transform-matrix/212735>\
**Category:** Uncategorized\
**Created:** [January 13, 2007, 7:07pm UTC](https://forum.kirupa.com/t/cannot-create-an-array-for-transform-matrix/212735 "2007-01-13T19:07:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fla\_rookie](https://avatars.discourse-cdn.com/v4/letter/f/7bcc69/32.png) [@fla\_rookie](https://forum.kirupa.com/u/fla_rookie)\
**Post date:** [January 13, 2007, 7:07pm UTC](https://forum.kirupa.com/t/cannot-create-an-array-for-transform-matrix/212735/1 "2007-01-13T19:07:55Z")

</div>

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!?

```auto

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…
