# Movieclip reference not passing through an array

**URL:** <https://forum.kirupa.com/t/movieclip-reference-not-passing-through-an-array/329730>\
**Category:** flash\
**Created:** [October 8, 2012, 9:49am UTC](https://forum.kirupa.com/t/movieclip-reference-not-passing-through-an-array/329730 "2012-10-08T09:49:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![coggia](https://avatars.discourse-cdn.com/v4/letter/c/8c91f0/32.png) [@coggia](https://forum.kirupa.com/u/coggia)\
**Post date:** [October 8, 2012, 9:49am UTC](https://forum.kirupa.com/t/movieclip-reference-not-passing-through-an-array/329730/1 "2012-10-08T09:49:59Z")

</div>

Hello,

I was wondering why I cannot find attributes of my movieclips as I use them in arrays.

I got some circle movieclip displayed on stage, named circle1,circle2…  
I put them in an array called t1Tab

```auto
t1Tab.push(circle1);t1Tab.push(circle2);

```

then in a function i try to retrieve the width of the movieclip

```auto
check(t1Tab[0]);

private function check(collisionCircle){
                trace("circle passed"+collisionCircle+" width: "+collisionCircle.width)
}

```

this retruns  
“circle passed [object cercle\_mc] width undefined”

If I use the function with the direct movieclip call like check(cicle1) i got the right values.  
But not if I use with the movieclips stored in the array. how’s that?
