TedFallenger Wrote:I'm trying to come up with a bit of script that will allow me to control the skin color of a character from the root using a variable, allowing that variable to be accessed for use on other characters.
Skin color choice is being dictated by a movie clip with several frames, each a different color, which is being used as an overlay on the body parts of the characters.
I'm new to Actionscript though I've been using Flash for quite some time. I'm using AS2 as I believe it is simpler for non-code-adept people like myself to understand.
Hi !
First read this one:
http://www.kirupa.com/developer/actionscript/color.htmThen:
AS3 version:
viewtopic.php?f=29&t=2286AS2 + AS3 version:
viewtopic.php?f=29&t=2052Idea is simple:
1)Get color - you can get it by kode like ColorPiker in AS3 - it is the same in AS2. Then you hav to put it in some variable for exampe A=ThatColor.
2)Then put it into ypur objects color. It is very good examples i think you will understand it.
If some problems - wright i ll try to help or make a little example. I have some time today so i will be on forum i think
Sorry for my bad english again