Hi,
I have the similar problem with outline the polygon and Polyline with SimpleLineSymbol.
Before if I query featureLayer.selectFeatures(...) I don�??t have the graphics problem but I used to get the GCOD error. So I changed the code to featureLayer.selectionColor=NaN and after the query I added graphics to polygon and polyline. Now the issue is first time I am seeing the highlighted graphic and after if I do continuously 3 or 4 times I am not seeing graphic. What might be the issue? I am using API 3.2, Viewer 3.2 and ArcGIS server 10.1.
Polygon:
var sls:SimpleLineSymbol = new SimpleLineSymbol;
sls.color=0xFFFF00;
sls.alpha=1.0;
sls.width=2;
var sfsFill:SimpleFillSymbol= new SimpleFillSymbol;
sfsFill.outline=sls;
sfsFill.style ="solid"
featureLayer.symbol=sfsFill
Polyline:
var sls:SimpleLineSymbol = new SimpleLineSymbol;
sls.color=0xFFFF00;
sls.alpha=1.0;
sls.width=2;
featureLayer.symbol=sls
Thanks,
Naveen