I am finding some interesting things with the Editor component.Editor updates geometry regardless of updateGeometryEnabled=false.All I want to do is edit attributes as part of a workflow.If I click a feature once and the attribute window opens as expected, click it a second time I can the move the vertices, click a third time I can move the entire feature.Any ideas why this is happening? I want to take advantage of the Editor components undo and redo feature.<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
xmlns:esri="http://www.esri.com/2008/ags">
<fx:Script>
<![CDATA[
import com.esri.ags.layers.FeatureLayer;
import com.esri.ags.tools.EditTool;
import mx.events.FlexEvent;
protected function editor_creationCompleteHandler(event:FlexEvent):void
{
var editTool:EditTool = editor.editTool;
editTool.allowAddVertices = false;
editTool.allowDeleteVertices = false;
editor.templatePicker.visible = false;
editor.templatePicker.includeInLayout = false;
editor.selectionDropDownList.visible = false;
editor.selectionDropDownList.includeInLayout = false;
editor.deleteButton.visible = false;
editor.deleteButton.includeInLayout = false;
editor.drawDropDownList.visible = false;
editor.drawDropDownList.includeInLayout = false;
}
]]>
</fx:Script>
<esri:Map id="map">
<esri:extent>
<esri:WebMercatorExtent minlon="-97.53" minlat="37.43" maxlon="-97.26" maxlat="37.64"/>
</esri:extent>
<esri:ArcGISTiledMapServiceLayer url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/>
<esri:ArcGISDynamicMapServiceLayer id="opsLayer" url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Petroleum/KSFields/MapServer"/>
<esri:FeatureLayer id="featureLayer"
mode="selection"
outFields="[activeprod, field_name, polydate, status, prod_oil]"
url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Petroleum/KSFields/FeatureServer/0"/>
</esri:Map>
<s:BorderContainer x="55" y="10" >
<esri:Editor id="editor" width="300"
addEnabled="false"
deleteEnabled="false"
updateAttributesEnabled="true"
updateGeometryEnabled="false"
creationComplete="editor_creationCompleteHandler(event)"
featureLayers="{[featureLayer]}"
map="{map}"
toolbarCutVisible="true" toolbarMergeVisible="true" toolbarReshapeVisible="false"
toolbarVisible="true"/>
</s:BorderContainer>
</s:Application>