[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]
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);
}