I am making two Color Picker Box. by this two Color Picker box, i am changing the color particular movie Clip. I am used Following Code:

```
for (var i:int = 0; i < 1; i++)
{
     color_picker(i)
}
var colorBox:ColorPicker;
var mc:MovieClip=  new MovieClip()
addChild(mc)

function color_picker(p)
{
    colorBox = new ColorPicker();
    mc.addChild(colorBox);
    colorBox.x = 0
    colorBox.y =  p * 40;
    p++;
    colorBox.addEventListener(ColorPickerEvent.CHANGE, changeColor1)
 }

var colorTransform1:ColorTransform = new ColorTransform();
function changeColor1(Event:ColorPickerEvent)
{
     var color = "0x" +Event.currentTarget.selectedColor.toString(16);
     colorTransform.color = color;
     cards.getChildAt(0).transform.colorTransform = colorTransform;
}

```

By this I am only Access last Color Picker Box.
please Guide me