# Changing instance color of a movie clip

**URL:** <https://forum.kirupa.com/t/changing-instance-color-of-a-movie-clip/171060>\
**Category:** flash\
**Created:** [December 1, 2005, 4:42pm UTC](https://forum.kirupa.com/t/changing-instance-color-of-a-movie-clip/171060 "2005-12-01T16:42:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vanula](https://avatars.discourse-cdn.com/v4/letter/v/aeb1de/32.png) [@vanula](https://forum.kirupa.com/u/vanula)\
**Post date:** [December 1, 2005, 4:42pm UTC](https://forum.kirupa.com/t/changing-instance-color-of-a-movie-clip/171060/1 "2005-12-01T16:42:34Z")

</div>

I’ve got a map, of those you roll over the mouse on the sections and it displays the section name.  
I want to add to these code, the instance of changing the colour of the section, so sections are more visible each time you move your mouse over the map.

So, I have this code on every section (each section is a MC).

> onClipEvent (mouseUp){  
> myColor.setRGB(0xff9933);  
> }  
> onClipEvent (enterFrame) {  
> if (this.hitTest(\_root.\_xmouse, \_root.\_ymouse, false)) {  
> \_root.ciudad.escribir(“Quilmes”);  
> tip = true;  
> } else if (tip) {  
> \_root.ciudad.escribir(“”);  
> tip = false;  
> }  
> // end if  
> }

Somebody can help me out here on adding to these a change color?  
I’ve tried several options but none of them worked.

Thanks a lot.
