# Weird behaviour with colorTransform and nested movieclips

**URL:** <https://forum.kirupa.com/t/weird-behaviour-with-colortransform-and-nested-movieclips/291626>\
**Category:** Uncategorized\
**Created:** [July 2, 2009, 1:43pm UTC](https://forum.kirupa.com/t/weird-behaviour-with-colortransform-and-nested-movieclips/291626 "2009-07-02T13:43:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mr\_schlong](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@mr\_schlong](https://forum.kirupa.com/u/mr_schlong)\
**Post date:** [July 2, 2009, 1:43pm UTC](https://forum.kirupa.com/t/weird-behaviour-with-colortransform-and-nested-movieclips/291626/1 "2009-07-02T13:43:46Z")

</div>

[FLASH8]

Hey there,

I’m getting nuts on a really weird problem using colorTransform.  
[See here](http://test.hannesnuetzmann.de/testcase.swf)

There is an parent\_mc that contains several child\_mcs. I use colorTransform to change the color of either one or more child\_mcs or the complete parent\_mc.

When you change the color for the parent\_mc like this:

```auto

trans = new Transform( parent_mc )
colorTrans.rgb = colorOut;
trans.colorTransform = colorTrans;

```

it colors all child\_mcs the way expected. But thereafter the transform wont work anymore for an single child\_mc:

```auto

trans = new Transform( parent_mc.child1 )
colorTrans.rgb = colorOver;
trans.colorTransform = colorTrans;

```

You can check out the FLA here: [download](http://test.hannesnuetzmann.de/testcase.fla)  
Or just have a look at the problem here: [see](http://test.hannesnuetzmann.de/testcase.swf)

Any idea what the heck is going on?

Many thanks and regards,  
Hannes
