# Changing colour of movies clips instance in array

**URL:** <https://forum.kirupa.com/t/changing-colour-of-movies-clips-instance-in-array/307614>\
**Category:** Uncategorized\
**Created:** [April 7, 2010, 12:08am UTC](https://forum.kirupa.com/t/changing-colour-of-movies-clips-instance-in-array/307614 "2010-04-07T00:08:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AeonAnimation](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@AeonAnimation](https://forum.kirupa.com/u/AeonAnimation)\
**Post date:** [April 7, 2010, 12:08am UTC](https://forum.kirupa.com/t/changing-colour-of-movies-clips-instance-in-array/307614/1 "2010-04-07T00:08:02Z")

</div>

Hi i have a small issue… Basically i want to run a loop that will change all of the colours of the movieclip instances… so i have setup an array:

```auto
var Black_Orbs:Array = Array("info_mc", "name_mc", "lift_mc");

function change()
{
 for (i=0; i<Black_Orbs.length; i++) {

var blkColor = new Color(blackdots_mc.Black_Orbs*);
blkColor.setTransform({rb:0, aa:100});

}

```

When change function is called it does not return the movieclips back to black… but if i manually type: blackdots\_mc.info\_mc); works fine…can any1 help me out? thanks
