# Changing colour of movieclip

**URL:** <https://forum.kirupa.com/t/changing-colour-of-movieclip/187213>\
**Category:** flash\
**Created:** [April 27, 2006, 1:34pm UTC](https://forum.kirupa.com/t/changing-colour-of-movieclip/187213 "2006-04-27T13:34:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimjiminyjimjim](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@jimjiminyjimjim](https://forum.kirupa.com/u/jimjiminyjimjim)\
**Post date:** [April 27, 2006, 1:34pm UTC](https://forum.kirupa.com/t/changing-colour-of-movieclip/187213/1 "2006-04-27T13:34:39Z")

</div>

I have this piece of actionscript working

```auto

var my_color = new Color("mymc");
my_color.setRGB(0xFF0000);

```

This works when I call the actionscript say from a button on the same timeline as the movieclip. What I can’t get my head round is how I change the colour of an object on a different timeline, say if the path to the movieclip was \_root.mc1.mc2.mymc

What would be the actionscript then?
