# Customizing Clothes and Hair color and such for games- need help!

**URL:** <https://forum.kirupa.com/t/customizing-clothes-and-hair-color-and-such-for-games-need-help/251178>\
**Category:** flash\
**Created:** [February 5, 2008, 11:54pm UTC](https://forum.kirupa.com/t/customizing-clothes-and-hair-color-and-such-for-games-need-help/251178 "2008-02-05T23:54:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZakirG](https://avatars.discourse-cdn.com/v4/letter/z/b5ac83/32.png) [@ZakirG](https://forum.kirupa.com/u/ZakirG)\
**Post date:** [February 5, 2008, 11:54pm UTC](https://forum.kirupa.com/t/customizing-clothes-and-hair-color-and-such-for-games-need-help/251178/1 "2008-02-05T23:54:01Z")

</div>

HI thanks in advance for replying or even reading this- I’m making an rpg in flash, and so far I have two main elements left to complete- customizing appearance, and multiplayer. I already know that the multiplayer is going to be extremely hard, but customization is possible. Any tips or good links?

not just color customization- i have got problems with that too, anyway.

so far i have made buttons with different instance names like green, red, blue and black. when you click on one of them, this code takes place:

```auto
myColor = new Color(_root.player.character.head.hair)
_root.blue.onRelease = function(){
    myColor.setRGB(0x0000ff)
}
_root.red.onRelease = function(){
    myColor.setRGB(0xff0000)
}
_root.green.onRelease = function(){
    myColor.setRGB(0x00ff00)
}
_root.black.onRelease = function(){
    myColor.setRGB(0x000000)
}

```

unfortunately, if the guy with his hair are not in each frame after this, the code stops working.

plz help or reply!!!

ps- that code was taken almost directly from the flash help menu under complex interactivity
