i have a project in which in need to color each of the five layers of a service differently with a colorpicker. I have a DataGrid which generates in the first column a checkbox to switch the layer on/off (like in the samples) the second column gets the layer's name (1970, 1980,..) third column set's a colorpicker vor each layer. What happens is when i change the color of one of the colorpickers it change the color of all five layers and not only just for one! When i trace layerInfo.layerId in my change function i'll get the color i selected in the colorpicker the right ID (like 1st colorpicker = ID 0; 2nd = ID 1;...) too.Here's my color picker change function:public function LayerColor(color:ColorTransform, layerInfo:LayerInfo):void {
var dynamicLayer_color:ArcGISDynamicMapServiceLayer = mapLayer as ArcGISDynamicMapServiceLayer;
dynamicLayer_color.transform.colorTransform = color;
}
[ATTACH=CONFIG]32490[/ATTACH]Any ideas will be appreciated!Steve