Hello guys, i'll go straight to the point here.
I have some rectangulars one on top of each other and a list of colors next to them. I want the user to click a rectangular then select a color.
Please follow the instruction in the given link: AS2.0: http://www.kirupa.com/developer/actionscript/color.htm
AS3.0 http://www.flashandmath.com/basic/colors/
thanks i have solved it