# One color, many objects

**URL:** <https://forum.kirupa.com/t/one-color-many-objects/175938>\
**Category:** Uncategorized\
**Created:** [January 19, 2006, 12:15am UTC](https://forum.kirupa.com/t/one-color-many-objects/175938 "2006-01-19T00:15:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dec27](https://avatars.discourse-cdn.com/v4/letter/d/2bfe46/32.png) [@dec27](https://forum.kirupa.com/u/dec27)\
**Post date:** [January 19, 2006, 12:15am UTC](https://forum.kirupa.com/t/one-color-many-objects/175938/1 "2006-01-19T00:15:25Z")

</div>

Hi!

I would like to know if there’s a way to change the color of various mc’s at the same time.

function colorit (mc) {  
var colorful = new Color(mc);  
colorful.setRGB(0xCC99FF);  
}

coll\_mc.onRelease = function(){  
colorit (pre\_mc, morf\_mc)  
}

What I need is that when onRelease change the color of some movie clips in the stage.

Thanks in advanced!

:te:
