# Help with Custom Character Menu! Multi MC control

**URL:** https://forum.kirupa.com/t/help-with-custom-character-menu-multi-mc-control/193613
**Category:** flash
**Created:** [July 14, 2006, 3:25pm UTC](https://forum.kirupa.com/t/help-with-custom-character-menu-multi-mc-control/193613 "2006-07-14T15:25:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Largo](https://avatars.discourse-cdn.com/v4/letter/l/41988e/32.png) [@Largo](https://forum.kirupa.com/u/Largo)
#### Post date: [July 14, 2006, 3:25pm UTC](https://forum.kirupa.com/t/help-with-custom-character-menu-multi-mc-control/193613/1 "2006-07-14T15:25:25Z")

</div>

[FONT=Arial]Hi. I´ve been making a custom character menu, and I ran into a problem… I have an MC called “hair”, and another one called “beard”. These MC´s have buttons that tell the MC to gotoAndPlay() a frame label. There I have my options on for example “short hair”, “long hair”. Then I have a Coloring Box, that chances the color of the options MC.(see fla. and swf. for more details) \*\*But My problem is: How can I make the ColorPicker/Box, be applied to the option that was selected and then chance to the next option when another one is selected? \*\*[/FONT]

[FONT=Arial] **Is there a way to do something like when this button is pressed: "Activate ColorPicker on target that is selected** \*\*" and then when you select another button/option, the same thing will happen and so on …?.\*\* [/FONT]

[FONT=Arial]I know that I can do this by making a function for each color and MC over and over again. But that will take far to long to do:(, but Im sure there must me more efficient way to this …:)[/FONT]

[FONT=Arial]Can anyone help me?:)[/FONT]  
[FONT=Arial][/FONT]  
[FONT=Arial][/FONT]  
[FONT=Arial]Example of my Color Code:[/FONT]  
[FONT=Arial][/FONT]

```auto
function red() {
 var my_color:Color = new Color(//not sure what to write here, because I need multible targets....);
 var myTransform:Object = my_color.getTransform();
 myTransform = { ra: 228, ga: 73, ba: 35};
 my_color.setTransform(myTransform);
 }

```
